Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Implicit closing of files

by rovf (Priest)
on Jun 19, 2008 at 07:37 UTC ( [id://692859]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Implicit closing of files
in thread Implicit closing of files

The problem is that he used *my* code, and when we tried to reproduce the problem, it worked well all the time. That's why I was wondering whether this is the type of undefined behaviour which "just works well most of the time". The machines are of the same type, but he uses Perl 5.8.8, while I am using 5.8.7 and 5.10 (ActiveState always). For this reason, I was interested whether the Perl programming langauge itself defines the behaviour (i.e. whether Perl is *supposed* to close the file when the local handle goes out of scope), in which case we should persuade the problem further, or whether the behaviour is unspecified/implementation dependent, in which case it makes no sense doing further research.
-- 
Ronald Fischer <ynnor@mm.st>

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-23 21:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found