[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] perl5 is 5



Richard Proctor <Richard@waveney.demon.co.uk> wrote:
> $.="Happy birthday ";print"$.to you,\n"x2,"$.dear perl5,\n$.to you.\n"
> 
> 71 chars...

This lends itself to 2-char-saving (not counting the omitted '> ')
mogrification, which I reckon at 68 char:

$,="Happy birthday ";print"$,to you,\n"x2,"dear perl5,\n$,to you.\n"

-- 
Steven Alexander
stevena@teleport.com
<http://www.teleport.com/~stevena/>
perl -le 'print map chr($_?64+((0<=>$_)+(-1+$_**2)**2)%17:()),-2..2'

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe