How to know if a file exists using PERL
Carlos Alberto
Posted on October 12, 2022
The follow code shows if a file exists using PERL lenguaje
$filename="FILEX.TXT";
if (-e $filename) {
print "File Exists!";
}
else
{
print "don't exists";
}
💖 💪 🙅 🚩
Carlos Alberto
Posted on October 12, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
webdev Understanding HTTP, Cookies, Email Protocols, and DNS: A Guide to Key Internet Technologies
November 30, 2024