submitted by /u/briandfoy [link] [comments] |
Perl Weekly #682 - Perl and CPAN
Originally published at Perl Weekly 682 Hi there, Please tell me how many of you remember the CPAN...Gabor Szabo (DEV Community)
submitted by /u/briandfoy [link] [comments] |
- YouTube
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.www.youtube.com
From a discussion on Hacker News:
One particulary mnemonic collection of switches is-plane
:perl -plane 'my $script'
.-n
and-p
are mutually exclusive, but as-p
overrides-n
, it is easier to just remove-p
if necessary.
Few other users in another discussion there mentioned -E
-n
-l
-p
options especially useful.
Is there anything really cool about -plane
or -Enlp
? Are they really somewhat a "Holy Grail" of running Perl scripts from the command line, and why?
submitted by /u/Impressive-West-5839
[link] [comments]
I thought I had seen somethink about this, but does Perl reserve a block of memory upon startup for user variables? Or are user variables always allocated when they are created/initialized with Newx, Newxz ?
From some benchmarks it seems that Perl does set some memory aside to avoid requesting memory from the OS all the time, and I thought I had seen some material about how to modify this "scratch space" but I could be very wrong or senile.
submitted by /u/ReplacementSlight413
[link] [comments]
I have noticed the Perl Cookbook, 2nd Edition as an outstanding reference. How about the work Perl by Example, Fifth Edition? How does it compare? Would you recommend it as a reference as well?
submitted by /u/fosres
[link] [comments]