develooper Front page | perl.perl5.porters | Postings from July 2014

Re: New feature proposal : <<>> to disable magic open of ARGV

Thread Previous | Thread Next
From:
Ricardo Signes
Date:
July 27, 2014 13:31
Subject:
Re: New feature proposal : <<>> to disable magic open of ARGV
Message ID:
20140727133109.GA16327@cancer.codesimply.com
* Smylers <Smylers@stripey.com> [2014-07-27T05:03:56]
> Rafael Garcia-Suarez writes:
> > Why the double negation?
> 
> This way, the only double negative is in Rik's description of the plan.
> From a Perl programmer's point of view, it's simply that somebody
> wanting to use the feature use-s it.
> 
> > use feature 'nomagic_open_argv' should work similarly.
> 
> But that imposes the double negative on users. In that if in perl 5.22
> nomagic_open_argv is the default, somebody wanting the magic behaviour
> would have to do:
> 
>   no feature qw<nomagic_open_argv>;
> [...]

Smylers has communicated my thoughts for me. :)

-- 
rjbs

Thread Previous | Thread Next


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