![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: if -s clause on a FILEHANDLEby Fletch (Bishop) |
on Jun 08, 2004 at 14:06 UTC ( #362340=note: print w/replies, xml ) | Need Help?? |
Erm, why not just if( @ftapes ) { ... }? Update: Also note that since you call select OUT and never re-select the old handle that your print will go to the OUT handle. You may want to use the common select( (select(OUT),$|=1)[0] ) idiom instead.
In Section
Seekers of Perl Wisdom
|
|