Skip to main content


Items tagged with: Perl

Y’all know I’m the first to crow about unique #Perl features, but #RegularExpressions’ syntax of ^ for the start of a line or string and $ for the end dates back at least to #Unix co-author Ken Thompson’s rewrite of the `qed` text editor for the #CTSS operating system on the IBM 7090 #mainframe at #BellLabs around 1970. (Perl creator Larry Wall was a teenager at the time.)

#retrocomputing #regex

Content warning: perl help

One of the first articles that introduced Perl to BYTE readers
Vía @unix_byte

@Perl There’s something to be said for putting a small speed bump in front of #developers before they can post #software to a well-indexed central repository: “One In Two New #npm Packages Is #SEO #Spam Right Now”

How to start with #Perl’s #CPAN via #PAUSE:
1) Read
2) Visit

#JavaScript #Node #NodeJs #NpmJs #Yarn #MetaCPAN

Encontrar enlaces rotos en sitio web #desarrollo_web #html #software_libre #enlaces #perl #página_web #w3c_link_checker

The Future of Perl | #perl #plt
#Perl #plt

#Music #Math #Programming Nerds - I mentioned the creation of this #perl module previously, but now it's fully documented, functionally updated, and possibly even useful! Woo! Here's a writeup:

If you're interested in Programming Languages, parsers, interpreters, etc and, like me, you "think in #Perl" then do yourself a favor and check this out!

This has been around for a while, but it is very high quality and I am not sure how many people are aware of it. It is definitely something that is in my @Perl toolbox.

For The Weekly Challenge 202.2 ("Widest Valley") I decided early on that a Finite State Automata would be a good clean solution. I am not sure if that is totally correct.

In #Perl I used the FSA::Rules module.

A nice touch is that you can export the states as a graph, which looks quite nice when drawn via GraphViz.

That "move" state could be called something like "initialize", but otherwise you can get a sense of the moves up and down "slopes" to detect the "valley".

There's a ton of stuff done under the hood in the example I'm replying to (locking tables, messaging, logging, exception handling, and so on) that never bubbles up to this level.

Oh, and yes, that example shows perfectly how easy it is to read well-written #perl code.

When #ChatGPT can be fed an entire codebase, *that's* when we should be worried.

5 great Perl scripts to keep in your sysadmin toolbox | Enable Sysadmin


If any of you use the excellent #sqitch ( tool for database change management, I wrote this tool a couple of years ago. It adds a `sqitch grep` command that shows you the matching sqitch changes in the order they were added.

This makes it *much* easier to follow the order in which changes happened in your database.


Looking through this collection, it looks like you can use at least the following programming languages to write programs in #DOS :
#C #rexx #prolog #asm #ada #basic (several BASIC dialects, some compiled even) #forth #Cpp #pascal #modula2 #lisp #smalltalk #fortran #cobol #logo #perl #python

Insomnia... So I've created & uploaded😛eriodicTable which is destined to become better... #perl

Converting Object-Oriented Code to Corinna

#perl #corinna

DateTime is a great example of the second part of the #Perl maxim: “Make easy things easy and hard things possible.”

Most calendars default to the currently preferred time zone, and some (I tested #GoogleCalendar, #Microsoft #Outlook, #ProtonCalendar) don't support floating time zones at all. Proton Calendar out-and-out refuses to process invitations sent with a floating time zone.

This is more of a tip for automated systems, e.g. using DateTime, which is why I sent it to the @Perl group and tagged it #Perl.

@Perl TIL what the “floating” time zone is for, practically—it’s so you can block off time that’s always local to you, like a lunch break or a reminder to take medications. It’s also useful if you’re planning a long-distance trip and you think it’s weird that events like dinners appear at non-intuitive times.

#Perl’s popular DateTime module defaults to floating and warns against comparison or math with real times:

I am the lead designer on the #Corinna project to bring modern OOP to the #perl language.

I ported two-decade old code to use the new syntax and learned the Corinna spec is flawed because I couldn't port it cleanly! Oh shit!

After a couple of hours of writing and rewriting the explanation, I discovered Corinna is not flawed. It was my original OO design that was broken.

Many Perl developers are going to discover they don't actually understand class-based OOP.

#perl is still a great choice! This is a post which I wrote a few months ago, but I didn't share it yet on the Fediverse! #perl5 #perl7 (also includes a small paragraph about #perl6 #raku #RakuLang) @Perl

@Perl@plicease's #WebAssembly in #Perl distribution (using #Wasmtime) now has competition in the form of Felipe Gasper's #Wasmer-based

With @PerlFFI's ability to build Perl extensions in C, C++, #Rust, #GoLang, #Pascal (!), #Fortran (!!), and even #assembly (!!!), you can plug just about any high-performance code into Perl.

#programming #coding #SoftwareDevelopment

My current contract has been absolutely amazing. Sadly, it's also ending at the end of the year. I'm looking for a new contract.

My work for the last two years has been with one of the world's largest companies cleaning up their #perl code to handle #gdpr, #sox, #pii, and #authorization. I designed and built a system that replaced almost 70 different #oop classes with a single config file.

Please boost for visibility.

You can read a case study of one project at

This Week in #Perl Steering Council (#PSC)

* Posted the smartmatch deprecation message to p5p@
* Sent off a reminder that we're looking for help on getting SSL support out of the box.
* Reviewed the RFC tracker and found some that nobody has started implementing; they are nearing their expiry time.
#Perl #psc

This thread highlights one of the key differences between the design processes behind #RakuLang and #Perl.

Raku's design all came from the question "What could I build if I could basically start again from scratch? What ideas might I have? How do I build a coherent whole from this blank canvas?"

Perl's ongoing design is all rooted in "What would I use right now in this real code I am writing today? What features would I like to have that I currently do not?"

That map is redundant since it's just taking the current element of the list and returning it.

Also, the List::Util module that comes with #Perl gives you the sum0 function to sum a list but using 0 if given an empty list, so you don't need your bespoke total function.

You can just do this:

use List::Util 1.26 'sum0';
sub above_average {
return grep {$_ > sum0(@_) / @_} @_;

Who says #perl is impenetrable or opaque? I just came up with this beauty that takes a list of numbers and returns just those that are above average (Chapter 4, Exercise 3 from the 7th edition of "Learning Perl")! 😂
sub above_average {
    return map { $_ } grep { $_ > total(@_) / @_ } @_;

I did a fun Sunday hacking stream on Twitch, and wrote the #Perl bindings for #GTK 4 and #libadwaita


They are barebones, but they work, so I'll finish the docs and publish them on CPAN—if I can find my old PAUSE credentials.

Thanks for the link to Tom H's "Perl to Rust",
-- I have been looking for something like that for going from #Perl|#Python. I think I did go through some (one?) "Python to #Rust" articles but felt somewhat superficial.

I wrote a note:

From Perl to Rust

#Rust #Perl #Blog

Building a Microservice in Perl (Part 2): Up and Running - DZone Microservices


Building a Microservice in Perl (Part 1): Designing the API - DZone Microservices


Este sitio web utiliza cookies. Si continúa navegando por este sitio web, usted acepta el uso de las cookies.