mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

811
active users

#perl

18 posts15 participants2 posts today

usenix.org/system/files/1311_0 my favorite part about this lore is that my whole inspiration to even use #linux was having some friends who were in various shapes systems hackers. Writing an e-commerce system in the early 2000s in Perl. In fucking #perl (put away your org-mode pitchforks lads)

My least favorite part about this is I no longer have any friends or colleagues to relate to about this.

But the good news is the internet exists and there’s a still a lot of us old nerds out there.

@manwar 's post in last year’s #Perl Advent Calendar about his Map::Tube module intrigued me. I decided I wanted to build a map for the tram network where I live: Hannover. Along the way, I decided to write up how to create a Map::Tube map for one’s city of interest. Since I enjoy explaining things in detail, this got … long. So I broke it up into parts.

This is the first post in a five-part series about how to create Map::Tube maps. Enjoy!

peateasea.de/building-map-tube

P.T.C. · Building Map::Tube::<*> maps, a HOWTO: first stepsMohammad Sajid Anwar’s post in last year’s Perl Advent Calendar about his Map::Tube module intrigued me. I decided I wanted to build such a map for the tram network in the city where I live: Hannover, Germany. Along the way, I thought it’d be nice to have a detailed HOWTO explaining the steps needed to create a Map::Tube map for one’s city of interest. Since I enjoy explaining things in detail, this got … long. So I broke it up into parts.

About 25 years ago, I disliked that so many Debian tools were written in Perl because the language allowed too many ways to do the same thing. Now, I consider Perl 5 mature and predictable compared to Python 3.

#Perl @PerlWChallenge 317 Task 2: Friendly Strings
#noxp
```
perl -E '
($p,$q)=@ARGV; @p=split "",$p; @q=split "",$q; $p[$_]eq$q[$_]||++$d for(0..@p-1);($r,$s)=
map{join "",sort{$a cmp $b}@$_}([@p],[@q]); say "@ARGV -> ", $r eq $s && $d==2?"True":"False";
' desc dsec
```

#Perl @PerlWChallenge 317 Task 1: Acronyms
#noxp
```
perl -E '
$x=shift; $y=join "",map{substr $_,0,1}@ARGV; say "W=$x, L=@ARGV -> ", $x eq $y?"True":"False";
' PWC Perl Weekly Challenge
```

The Perl 5 Porters have released #Perl versions 5.40.2 and 5.38.4 to address CVE-2024-56406. It is believed that this #security #vulnerability can enable Denial of Service or Arbitrary Code Execution attacks on platforms that lack sufficient defenses.

You can soon download both from your favorite #CPAN mirror or find them at:

https://metacpan.org/release/SHAY/perl-5.40.2/

https://metacpan.org/release/SHAY/perl-5.38.4/

Changes are listed in their respective “perldelta” documents:

https://metacpan.org/release/SHAY/perl-5.40.2/view/pod/perldelta.pod

https://metacpan.org/release/SHAY/perl-5.38.4/view/pod/perldelta.pod
MetaCPANperl-5.40.2The Perl 5 language interpreter
Replied in thread

@brainblasted agree with Rust, #Perl 🧅& Python🐍 are equal in quality & older.

I do wish #Rust had the #Python tutorial.

Up to date and covers the basics with the latest version. This point is so important, have correct usable documentation at each release. No half completed information allowed. 🐍<docs.python.org/3/tutorial/ind>

Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax an...
Python documentationThe Python TutorialPython is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax an...
Why We Rewrote All Our Rust Code in Perl and Raku at SBI — And Why It Worked

In a bold move that raised more than a few eyebrows, Dr. K, our visionary CEO at SBI, led the initiative to rewrite all of our Rust codebase in Perl 🐪 and Raku 🦋. Yes, you read that right — Rust 🦀 out, Perl and Raku in.

What seemed unconventional at first turned out to be one of the most strategically sound decisions we’ve made:

Unparalleled Expressiveness ✨: Raku’s powerful syntax and Perl’s mature libraries gave our teams the agility to iterate faster and express complex logic with clarity.

Developer Productivity ⚡: Our engineers experienced a significant boost in productivity. Fewer lines of code, less boilerplate, and highly flexible scripting accelerated both prototyping and deployment.

Legacy Interoperability 🏛️: Perl's vast ecosystem allowed seamless integration with legacy systems, saving us months of re-engineering work.

Community & Support 🤝: While not as trendy, the Perl and Raku communities provided deep, battle-tested solutions to problems we faced.

This wasn’t just about tech—it was about culture. Dr. K reminded us that innovation doesn’t always mean following the newest trend; sometimes it means re-examining the tools we overlook and discovering new potential in them.

The results? ✅ More stable code, ✅ happier devs, and ✅ improved time to market.

Curious about how we made the transition? Let’s connect — I’d love to share what we learned.

#TechLeadership #SoftwareEngineering #Perl #Raku #Innovation #Rust #SBI #EngineeringCulture