In article <20000509175106.A356@netvision.net.il>, Gaal Yahas <gaal@forum2.org> wrote: > 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> "' ??? What is this trying to accomplish? A golf shot isn't necessarily expecting or wanting $\="\n". (And a BEGIN{print"gosh> "} would be nice.) > > > > $_ is the default argument to eval, so you can save three characters there. > > I kinda like > > perl -nle eval For interactive perl I usually use: perl -Wlne "eval;print$@if$@" ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe