Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: tripping over filehandle / subroutine usage

by LanX (Canon)
on Dec 21, 2012 at 21:00 UTC ( #1009959=note: print w/ replies, xml ) Need Help??


in reply to tripping over filehandle / subroutine usage

> Do filehandles get auto-closed when they are passed to a subroutine and the subroutine returns?

no!

> (this is probably really basic, but somehow I have never encountered it before).

and we can't tell what you're doing ... because you don't provide much reproducible code. :)

> What is happening here?

You have a bug in the code you're hiding from us!

Cheers Rolf

) (X-Lan activating his magical psy abilities to read foreign harddisks =)


Comment on Re: tripping over filehandle / subroutine usage

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (14)
As of 2014-12-18 20:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (61 votes), past polls