Re: RFC 30 (v4) STDIN, STDOUT, STDERR, ARGV, and DATA should become scalars
[email protected] (Jon Ericson) Thu, 14 Sep 2000 17:53:15 -0700
| Newsgroups | perl.perl6.language.io |
|---|---|
| Message-ID | <[email protected]> |
"David L. Nicol" wrote: > Nathan Wiger wrote: > > 3. There's no way to have them interpolated in strings into > > something potentially useful. > > The string value of a file handle. Hmm. Is it's internal file > descriptor number? Umm... that's the numeric value of a file handle, right? > Is it the name of the file? Close. It should be the string passed to the open that created the file handle. > What if it's an anonymous stream? How do you open an anonymous stream? > Is it the contents of the file? No. That's what <$STDIN> is for. Jon -- Knowledge is that which remains when what is learned is forgotten. - Mr. King