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

Re: Fun with open() on a string

Thread Previous | Thread Next
From:
Eric Brine
Date:
July 31, 2008 03:20
Subject:
Re: Fun with open() on a string
Message ID:
f86994700807310320q1ad15ae3j5adbb98e25d49ff9@mail.gmail.com
>> > Do you have an explanation for why it does what it does? :-)
>>
>> Yes. <> is reading from stdin in C (file descriptor 2) which will be
>
> No, File descriptor 0. 1 is stdout, 2 is stderr

Kudos for the emulation of unix file descriptors on Windows. I see the
PerlIO pod source on Windows too.

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