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

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



how about just good old

perl

?
----- Original Message -----
From: Gaal Yahas <gaal@forum2.org>
To: <fwp@technofile.org>
Sent: Tuesday, May 09, 2000 7:51 AM
Subject: 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
>


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