I'm looking at Brian DeFoy's recent article. He's got:
$ perl -le "\$, = q( ); print q(a)..q(z)" a b c d e f g h i j k l m n o p q r s t u v w x y z
I get an error, though:
Experimental aliasing via reference not enabled at -e line 1.
And this simpler line works for me, without error with version 5.24.1 and 5.28.1:
perl -le '$, = q( ); print a..z'
So I'm curious to know what he's doing with his referencing of the output field separator, $,. Thanks.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
In reply to Question on DeFoy's range operator example by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |