in reply to
Opening a File If It Exists
Test for existance using the -e operator. See
perldoc -f -X
for more info. For example:
if (-e "some_file") { # do your thing }
[download]
Comment on
Re: Opening a File If It Exists
Select
or
Download
Code
In Section
Seekers of Perl Wisdom