Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: is filehandler used ?

by beachbum (Beadle)
on Mar 01, 2006 at 14:59 UTC ( [id://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 (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://533665]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-19 05:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found