develooper Front page | perl.perl6.language | Postings from August 2000

Re: RFC 2 (v3) Request For New Pragma: Implicit

From:
Bryan C . Warnock
Date:
August 30, 2000 13:56
Subject:
Re: RFC 2 (v3) Request For New Pragma: Implicit
Message ID:
00083016594601.00767@CC789569-A
On Wed, 30 Aug 2000, Michael Maraist wrote:

> Good idea, but you have it backwards.. If anything, there should be an
> "explicit" keyword..
> Remember, we want
> 
> %  perl -p -e 's/foo/bar/g' file.txt

Oh, I know.  I threw it in because someone mentioned wanting to turn it
off.  (There may have been some confusion in the default settings.  The
implicit arg would be 'on' by default.  To turn it off would require:

no implict arg;

Use could then turn it back on again.)

Trust me, I've no desire of removing the features that won me over in
the first place.

-- 
Bryan C. Warnock
(bwarnock@gtemail.net)



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About