Category: The Perl Programming Language
-
Perl Cookbook, ch. 09.13: lst – list sorted directory contents (depth first)
https://resources.oreilly.com/examples/9780596003135/blob/master/cookbook.examples/ch09/lst https://github.com/briandfoy/PerlPowerTools/blob/master/bin/ls Using “-l” for “long listing” this utility (“lst”) lists the respective time stamp with a precision down to seconds. This utility obviously is a Perl script with rather few depencies. The “ls” of GNU coreutils does this as well with “–time-style” and even nicer (IMO). This utility is a binary one and needs…
-
Perl Best Practices: Code Layout: “Automated Layout” AKA “enforce your chosen layout style mechanically through perltidy”
http://shop.oreilly.com/product/9780596001735.do I really hate code layout wars. I really hate getting forced to follow unreasonable rules. I also hate it, if people do not follow obvious reasonable rules. It gets really bad, if rather strict team coding rules get enforced more on some team members than on others. The pain should at least be the…
-
Modern Perl 2014 edition is out in print and free online now
http://www.modernperlbooks.com/mt/2014/04/modern-perl-2014-edition-is-out.html
-
Paul Slootman’s logtail – a utility to print log file lines that have not been read
http://linux.die.net/man/8/logtail implemented in Perl
-
Perl Maven: Installing a Perl Module from CPAN on Windows, Linux and Mac OS X
http://perlmaven.com/how-to-install-a-perl-module-from-cpan Not covering perlbrew.
-
a perl command line as substitute for “cut”
These 2 command lines are equivalent, but the 2nd one is the recommend one (it’s only 2 lines, and they should not be broken): $ perl -ne ‘@F = split(“:”); print “$F[0],\”$F[4]\”\n”‘ /etc/passwd $ perl -naF: -e ‘print “$F[0],\”$F[4]\”\n”‘ /etc/passwd I had used “-a” and “-F” before, but I did not remember (and I wasn’t…
-
perlmonks: The First Letter of Erudil to the Monasterians
http://www.perlmonks.org/bare/?node_id=149675 (“1st Monasterians”) http://www.perlmonks.org/?node=Erudil 15: If there are those who refuse to accept our wonderful message, do not allow them to draw you into a fruitless flame war, and thereby bring disrepute upon yourselves and our Monastery. 16: Remember well: “What should it profit a man, if he should win a flame war, yet lose his…
-
Conor Myhrvold: The Fall Of Perl, The Web’s Most Promising Language
http://www.fastcolabs.com/3026446/the-fall-of-perl-the-webs-most-promising-language Alright, as Brian d’Foy mentioned at https://twitter.com/briandfoy_perl/status/437971859003670528 : The Fall of Perl” would more suitably be titled “The Rise of Python.
-
German Perl Workshop 2014
http://act.yapc.eu/gpw2014 16th German Perl Workshop 2014 in Hanover from 26th to 28th March 2014
-
how to easily display a base64 encoded file
I wondered, how I could achieve that on various Unix platforms, and I ran the following command on my Linux box: $ man -k base64base64 (1) – base64 encode/decode data and print to standard outputMIME::Base64 (3pm) – Encoding and decoding of base64 strings Right the utility base64 (beloning to…