Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: checking bareword-filehandle

by morgon (Deacon)
on Aug 06, 2012 at 14:15 UTC ( #985730=note: print w/ replies, xml ) Need Help??


in reply to Re^2: checking bareword-filehandle
in thread checking bareword-filehandle

seems not to work in my old Perl (5.8.8):

use strict; use warnings; no warnings qw(unopened); open HUBBA, "/hubba"; print HUBBA "hubba";
Produces a warning "print() on closed filehandle HUBBA at t line 6."

Guess I have to disable all warnings...


Comment on Re^3: checking bareword-filehandle
Download Code
Replies are listed 'Best First'.
Re^4: checking bareword-filehandle
by moritz (Cardinal) on Aug 06, 2012 at 14:20 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2015-07-08 02:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls