Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: is filehandler used ?

by beachbum (Beadle)
on Mar 01, 2006 at 14:59 UTC ( #533665=note: print w/replies, xml ) Need Help??


in reply to Re^2: is filehandler used ?
in thread is filehandler used ?

any idea of the diff between yours and mine? I've always used *HANDLE:
use strict; use warnings; open(OUT, ">test.txt") or die "Can't open file to write, $!."; if(defined fileno *OUT){ print "File handle is valid."; }else{ print "Nope."; } close OUT;

Replies are listed 'Best First'.
Re^4: is filehandler used ?
by ikegami (Pope) on Mar 01, 2006 at 15:22 UTC
    No diff. \*HANDLE also works.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (12)
As of 2019-10-23 15:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?