Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Is it possible to get a filename from a filehandle?

by Anonymous Monk
on Apr 26, 2000 at 00:42 UTC ( #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
Node Status?
node history
Node Type: perlquestion [id://9102]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2021-04-21 06:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?