R
r_stringer66
Hello,
I want to write a simple perl script which checks to see if a given
file exists if so it will do one thing and if not something else, kind
of like:
if( fileexists)
do step1
else
do step2
So far I looked at perl's open function but it does not seem to return
a boolean in order to indicate of the file was opened successfully or
not.
Thanks in advance for any ideas you might have.
Regards,
Rob
I want to write a simple perl script which checks to see if a given
file exists if so it will do one thing and if not something else, kind
of like:
if( fileexists)
do step1
else
do step2
So far I looked at perl's open function but it does not seem to return
a boolean in order to indicate of the file was opened successfully or
not.
Thanks in advance for any ideas you might have.
Regards,
Rob