[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:
> 
> perl -ne '$\="\n";eval $_;undef$\;print "gosh> "'

  perl -ne 'eval $_;{local$\;print "gosh> "}'

But it's kinda strange to not print the prompt before the
first line is read.

-- 
John Porter

A pound of cure is worth a megaton of homeopathy.


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