Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: forgoing explicit file close

by dave_the_m (Monsignor)
on Aug 22, 2015 at 10:20 UTC ( [id://1139497]=note: print w/replies, xml ) Need Help??


in reply to Re^2: forgoing explicit file close
in thread forgoing explicit file close

Would it be beyond the realms of possibility for that warning to be produced when a filehandle goes out of scope?
It's a default warning in 5.22.0 onwards:
$ perl5220 -e'{open my $fh, ">/dev/full"; print $fh "abc"}' Warning: unable to close filehandle $fh properly: No space left on dev +ice at -e line 1. $

Dave.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-29 00:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found