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

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



On Tue, May 09, 2000 at 08:01:13AM +0200, Philip Newton 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.

I kinda like

     perl -nle eval

:-)
-- 
believing is seeing
gaal@forum2.org
http://www.forum2.org/gaal/

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