Perl, once my ally, threatens now to become my nemesis.
Without her, perhaps, I'd be in line for a new genesis.
But such is the enigma
That she would bring such stigma
And place me, unexpectedly, into such antithesis.
perl - what are you on about?
me - you've led me so deep in the mire how are either of us to know?
use lib '.';
there happens to be a dirth of package soandso anywhere yet we merrily
+ whizz along
I've been working on an exercise to generate the English "Twelve
days of Christmas song". So far, I've come up with the following:
":a)." $_";print"On the $i",(st,nd,rd)[$i-1]||th," day of Christmas,
my true love gave to me:
partridge in a pear tree.
turtle doves and
My script is 343 bytes, which is better than zip and tar+gzip but worse than gzip:
-rw-r--r-- 1 john john 294 May 1 13:29 12days.gz
-rw-r--r-- 1 john john 343 Apr 30 04:00 12days.pl
-rw-r--r-- 1 john john 370 May 1 13:30 12days.tar.gz
-rw-r--r-- 1 john john 2169 May 1 13:29 12days.txt
-rw-r--r-- 1 john john 439 May 1 13:30 12days.zip
Snippets of code should be wrapped in
<code> tags not<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor