Yanick wrote: > > On Wed, Feb 13, 2002 at 06:37:56AM -0600, Dave Hoover wrote: > > > On Tuesday 12 February 2002 07:22, Jerome Quelin wrote: > > >Since when does a golf contest not accept one-liners? [..] > > > > Looking back just a few months in the fwp archives shows that Santa's, > > Ton's, and Andrew's golf tournaments all have requested solutions in file > > format: > > > > name-your-script: > > #!/usr/bin/perl -switches > > codecodecode > > codecodecode > > __END__ > > Beside, is there any golfic advantage I don't see 'bout using > > perl -e'codecodecode' > > instead of > > #!perl > codecodecode > > ? Unless I'm forgetting something major, the second option > gives you a few bonus strokes and protects you of the evil > that shells do[*]... No?
Well, in _this_ case, the one-liner version is 33 characters and the file version is 34 charcters. John -- use Perl; program fulfillment