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

Re: runperl() exit oddity

Thread Previous | Thread Next
Eric Brine
August 7, 2013 18:54
Re: runperl() exit oddity
Message ID:
On Wed, Aug 7, 2013 at 1:40 PM, Nicholas Clark <> wrote:

> Does
>     perl <nul.txt -e1
> work too?
> (ie it's still compatible with MS/DOS and earlier)


My assumption was based on what seem to be several regression tests
> that opened /dev/null and aren't failing on Win32.

There isn't that much difference between a file handle to an empty file and
an opened file handle. <$fh> returns false for both.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About