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

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 :-)
Cheers,
/Jan-Erik Schuch
jsc@avanza.com

Avanza Securities
http://www.avanza.com
http://www.insidefinans.se

Phone: +46 8 566 183 20  Mailing Adress:     Visiting Address:
Cell:  +46 707 68 08 50  P.O Box 1399        Kungsgatan 28
Fax:   +46 8 566 183 01  S-111 93 Stockholm  Stockholm, Sweden


-----Original Message-----
From: owner-fwp@technofile.org [mailto:owner-fwp@technofile.org]On
Behalf Of Richard Proctor
Sent: den 19 oktober 1999 18:47
To: fwp@technofile.org
Subject: [FWP] perl5 is 5


perl5 is 5.

So in the spirit of JAPH:

for(0..3){print"Happy birthday ".(/2/?"dear perl5":"to
you").(/3/?".":",")."\n"}

Can anybody get it smaller...


--

Richard@waveney.demon.co.uk


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


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