in reply to Check Existence of a File
if ( -e "path/to/file" ) { print "File exists, hooray!"; } else { print "I couldn't find the file. Hohum:("; }
kelan
Perl6 Grammar Student
|
---|
In Section
Seekers of Perl Wisdom
in reply to Check Existence of a File
if ( -e "path/to/file" ) { print "File exists, hooray!"; } else { print "I couldn't find the file. Hohum:("; }
kelan
Perl6 Grammar Student
|
---|