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 |
In Section
Seekers of Perl Wisdom