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

Re: [FWP] perl5 is 5



On Tue, Oct 19, 1999 at 01:42:16PM -0500, Rubinow, Larry wrote:
> I wrote:
> 
> > Arguably different output (though not to the casual 
> > observer), but two chars shorter:
> > 
> > for(0..3){print"\nHappy birthday ".(/2/?"dear perl5":"to 
> > you").","};print"\b."
> 
> Oops.  My bad.  Trim off two more chars:
> 
> for(0..3){print"\nHappy birthday ".(/2/?"dear perl5,":"to you,")};print"\b."
                                                                  ^^^

Trim off one more; you don't need a semicolon after a conditional or loop
block.

But I'm still ahead at 73 characters.  :)

Ronald

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