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

Re: Golf Shell (was Re: [FWP] string increment



David L. Nicol wrote:
> for what it is worth, I give you "Golf Shell":
> 
> perl -ne '$\="\n";eval $_;undef$\;print "gosh> "'

$_ is the default argument to eval, so you can save three characters there.

Cheers,
Philip

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