the -e checks for the existance of a file and returns true or false so if it does not exist it will not go into the if loop. I think this is what you are asking.my $file_name = "some_file_name"; if ( -e $file_name ) { DO_STUFF }
_Enlil_
In reply to Re: Is any any script checking File Existance
by Enlil
in thread Is any any script checking File Existance
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |