![]() |
|
Just another Perl shrine | |
PerlMonks |
Re: unable to open existing file after trying to open a non-existing oneby asarih (Hermit) |
on Sep 23, 2003 at 15:42 UTC ( #293540=note: print w/replies, xml ) | Need Help?? |
For one thing, I think you're confusing Perl's open and C's open. Perl's open returns 1 if successful, whereas C's open() returns 0.
Update: While the above statement is true, the OP is not confused. I'm the one who is confused about what OP's code was doing. Apologies.
In Section
Seekers of Perl Wisdom
|
|