Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Opening a File If It Existsby The Mad Hatter (Priest) |
on Jul 21, 2004 at 17:15 UTC ( [id://376324]=note: print w/replies, xml ) | Need Help?? |
Test for existance using the -e operator. See perldoc -f -X for more info. For example:
In Section
Seekers of Perl Wisdom
|
|