"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

Reply via email to