r/perl • • Jun 02 '18

What Perl needs is an Appstore.

0 Upvotes

Sure CPAN is a great repository of modules and Github has a large number of open source Perl projects. Perl is however more used to rustling up quick snippets of code for individual projects, rather than being made available in a form for widespread redistribution. I remember using Matt's Script archive ( still up, but not updated ). However an entity that allows Perl developers to either monetise their skills, or just make things easily available for other Perl devs to adopt or adapt would be, I reckon, a very useful asset.


r/perl • • Dec 28 '13

Perl and IPv6 (also: is Perl5 dying?)

1 Upvotes

When I was younger, Perl used to be the language of choice for Unix system and network programming: when one didn't want to bother writing in C, Perl could do everything with a lighter syntax and less time wasted on the irrelevant.

Nowadays, network programming necessarily involves IPv6 (the current IP version), and while Perl supports it (there is a Socket6 module), (1) it's not part of the core language / module set, (2) it doesn't seem to interact too well with the core modules, and (3) it doesn't have nearly all that is necessary for socket manipulation, and it seems pretty much abandoned.

The problem with (1) is that even if the module is on CPAN, it is not guaranteed to be available everywhere where Perl is, and installing it can be a problem. This is absurd: in 2014, IPv6 is not an advanced feature that can afford to be optional, it makes no sense for Perl not to have native IPv6 support.

The problem with (2) is illustrated by the following trivial script:

#! /usr/bin/perl -w
use strict;
use warnings;
use Socket;
use Socket6;

which produces the following output:

Subroutine main::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /tmp/stupid.pl line 5
Subroutine main::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /tmp/stupid.pl line 5
Subroutine main::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /tmp/stupid.pl line 5

Note that calling use Socket and use Socket6 (with no list of exports and in that order) is recommended by the official Socket6 documentation, I didn't invent it. While these are only warnings (and can be disabled by removing the -w switch), is still goes to show that Socket and Socket6 are not perfectly well integrated.

As for (3), it is illustrated by this bug report which I opened nearly four years ago, with a patch and which drew exactly zero response during that time. It is simply impossible to reliably open a socket without having the IPV6_V6ONLY constant because Unix systems disagree as to the default value.

I have the feeling that these are all symptoms of a larger picture, namely that Perl5 is pretty much abandoned. Which I think is very sad, because there is no other language that can claim to occupy the niche where Perl5 sits (or sat).

Can someone offer hope?


r/perl • • Jun 11 '21

I'm heading to a date with a girl that works with perl; any insider jokes I can wow her with?

2 Upvotes

Title says it all

Made a joke about liking defunct tech

She said oh yeah I work with perl you'll love me then

I commented how COBOL seems like a valid option

She said to stop swearing

Any follow ups, guys?


r/perl • • Aug 08 '25

Converting the Perl Power Tools to Python, using AI

2 Upvotes

Jeffrey S Haemer, who wrote some of the original Perl Power Tools programs, had the idea to convert them to Python using Gemini in the Python Power Tools project.

Tom Christiansen (tchrist) originally started the project in 1999, and some of the programs show the programming styles of the time. Some of these are pretty painful to read given 25 years of Perl style evolution, which means the automatic translation might have some interesting outputs. I'm curious how it would go.

Since most tools in the Perl project don't have tests, checking that the translation is correct will be a problem. In theory, running the Perl tests against the Python tool shouldn't be a problem in many cases. We'll see how it turns out.


r/perl • • Jan 30 '19

Perl problems

0 Upvotes

r/perl • • Jan 07 '12

How to prevent job applications by Perl developers

Thumbnail
jobs.perl.org
0 Upvotes

r/perl • • Jul 10 '09

Perl is not Python, and other painfully obvious musings…

Thumbnail elfsternberg.com
0 Upvotes

r/perl • • Dec 20 '19

Just started coding in C++. It's so stupid.

1 Upvotes

Actually, I wonder if my years and years of messing around in perl has turned me into a lazy coder. Maybe... a relaxed coder. C++ keeps yelling at me, telling me I'm doing things wrong all the time. And I have to define everything so thoroughly. UGH. OK, MOM. GET OFF MY BACK.


r/perl • • Dec 30 '14

Is 2015 going to be the year of Perl 6 ?

Thumbnail
perl6maven.com
0 Upvotes

r/perl • • Jun 24 '20

Perl 7+ should copy the support/security model of PHP and Python

0 Upvotes

PHP does major/minor releases annually and actively supports each version for 2 years, and provides security fixes for an additional year after that.

Python does major/minor releases less frequently (every 12 to 18 months) and actively supports the release for two years, and provides security fixes for an additional three years.

This model seems to work well for the end user and the developers. I think this would be a good model to copy. As Sawyer mentioned v5.32 would be an exception and would be considered a LTS release for however long we continued to support it. 5+ years?

I think this model would be a good "contract" with our users as it very clearly sets forth how long a release is supported. It also actively encourages distributions to include supported versions.


r/perl • • Aug 03 '23

Perl is dying - could be extinct by 2023

1 Upvotes

r/perl • • Aug 09 '11

Writting Perl code is like...

1 Upvotes

Writting Perl code is like having sex it can be done in the most various ways, some more satisfying than others but all eventually leading to a feeling of joy on completion.


r/perl • • Apr 06 '14

Please review & comment on proposed Standards of Conduct for irc.perl.org

Thumbnail
gist.github.com
1 Upvotes

r/perl • • May 15 '20

got bitten again by perl 's math inaccuracy

0 Upvotes

finally found the bug in my program ... perl -e '$a=int(1000*6.565); print $a' gives 6564 :(

i am a bit lost with that one... i guess one should add +1e-10 anytime use the int() ? EDIT: 0.5 replaced by 1e-10 ... not trying to do a round


r/perl • • Oct 20 '16

Crazy things can happend in dynamically typed languages (such as in Perl)

Thumbnail
tuukkamerilainen.com
0 Upvotes

r/perl • • Jun 25 '11

Perl, Perl 5, Perl 6, and Names

Thumbnail
modernperlbooks.com
0 Upvotes

r/perl • • Jul 21 '19

Google revives former slogan in Go kerfuffle?

0 Upvotes

Google engineers, when writing error and exception handling code in Perl, hereby resolve to do no eval{}.

Sorry, bad pun, but i had to try().


r/perl • • Apr 06 '23

easier in perl

0 Upvotes

Today youtube presented a short on using Rust to generate a random 15 character password. I asked CHATGPT to generate same in perl. Then make simpler with range and map, then make one-liner, then a bash alias.


r/perl • • May 30 '26

Teaching AI About the British Monarchy with MCP - Perl Hacks

Thumbnail
perlhacks.com
0 Upvotes

r/perl • • Jul 11 '23

Perl is quickly becoming one of those hobbyist languages like Haskell, wildly divorced from how people build real word systems, today.

1 Upvotes

Dear whoever cares,

Perl is quickly becoming one of those hobbyist languages like Haskell, wildly divorced from how people build real word systems, today. I say this out of love for the language, and out of frustration with community trends and language design decisions.

With love and optimism,
Your neighbor


r/perl • • Mar 20 '15

How did become Linux a second-class citizen on Arduino?

Thumbnail wumpus-cave.net
0 Upvotes

r/perl • • Jul 26 '19

Board update to SoC incident

Thumbnail news.perlfoundation.org
0 Upvotes

r/perl • • Apr 08 '18

Useless use of hash element in void context

Thumbnail perlmaven.com
1 Upvotes

r/perl • • Jun 25 '15

LWP::UserAgent and Basic Authentication

Thumbnail
perlmaven.com
0 Upvotes