Think about Loose Coupling | |
PerlMonks |
Re: Re: Re: Win32 bad file descriptorby Anonymous Monk |
on Jul 05, 2001 at 23:45 UTC ( [id://94230]=note: print w/replies, xml ) | Need Help?? |
Comment out the line no strict 'refs' and see your open go down in flames.
The die at the open will never have an effect because of operator precedence.
Feed it a falsified filename an see for yourself. The die at the close
has the same problem. Essentially your program seems to work because you have turned off the error reporting.
In Section
Seekers of Perl Wisdom
|
|