Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Is it possible to get a filename from a filehandle?

by Anonymous Monk
on Apr 26, 2000 at 00:42 UTC ( [id://9102]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

If some evil function returns a filehandle, is it then possible to get the filename extracted from the filehandle?

Originally posted as a Categorized Question.

  • Comment on Is it possible to get a filename from a filehandle?

Replies are listed 'Best First'.
Re: Is it possible to get a filename from a filehandle?
by merlyn (Sage) on Apr 26, 2000 at 02:45 UTC
    No. I think this is answered in better detail in the Perl FAQ...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://9102]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-20 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found