Skip to main content


What do you think about making (me) a new version of this here https://learnxinyminutes.com/docs/perl/
(I like the way the most important features of a programming language are summarized)
where modern Perl features are explained (e.g. subroutine's formal parameters etc.)?

What else would you like to see in such a short introduction without wanting to include everything that has been available in Perl for some time?

#perl

#perl
This entry was edited (4 weeks ago)
in reply to Felix πŸ‡ΊπŸ‡¦πŸš΄β€β™‚οΈ

- In the regex section, include a blurb for "/r", "/a" & "/aa" flags.

- In the "sub" section, show the the version with signatures, stable since v5.36.

I was going to suggest addition of a blurb about try-catch(-finally), but even for v5.40 that is listed as "partly experimental" 😫
https://metacpan.org/release/HAARG/perl-5.40.0/view/lib/feature.pm#The-'try'-feature

#Perl

#perl
This entry was edited (4 weeks ago)
in reply to parvXtl

@parvXtl It's only experimental now if you add a `finally` block
in reply to Paul Evans

That warning also lists that β€œtry” feature could be removed.

If that is not so, then perhaps the warning ought to be more specific.

This entry was edited (4 weeks ago)
in reply to parvXtl

@parvXtl Ah yes likely the wording in the message needs improving then
⇧