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

RE: [FWP] perl5 is 5



Richard Proctor wrote:

> 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...

Here's a different approach:

print+("\nHappy birthday ","to you,","dear perl5,","\b.")[0,1,0,1,0,2,0,1,3]

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