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

RE: [FWP] perl5 is 5



> From: jsc@avanza.com [mailto:jsc@avanza.com]
> Sent: Tuesday, October 19, 1999 11:48
> To: 'Richard Proctor'; fwp@technofile.org
> Subject: RE: [FWP] perl5 is 5
>
> Sorry but I couldn't help myself:-) Not that it's very nice but...
>
> $a="Happy birthday";print "$a to you,\n"x2,"$a dear
> perl5,\n$a to you.\n";
>
> is actually 6 chars shorter :-)

It's plenty nice.  And removing the superfluous space after the 'print'
makes it one character shorter than the best so far.

--
Larry Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com



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