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

Re: [perl #109146] 3-arg open of undef for read

From:
Ricardo Signes
Date:
July 10, 2013 02:05
Subject:
Re: [perl #109146] 3-arg open of undef for read
Message ID:
20130710020508.GB24806@cancer.codesimply.com
* Ævar Arnfjörð Bjarmason <avarab@gmail.com> [2012-01-27T04:58:00]
>  * Did this just slip between the cracks when in-memory file support
>    was added (i.e. open my $fh, ">", \(my $file))? Shouldn't we always
>    be dying when passed undef with modes that aren't +> or <+ ? From
>    perldoc -f open:

That's what I would think.

-- 
rjbs



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