Carlos Alberto Posted on Oct 12, 2022 • Edited on Oct 12, 2022 How to know if a file exists using PERL 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"; } Enter fullscreen mode Exit fullscreen mode Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)