this might be a remedial question but I am very new to perl hence why I am having a problem. I know the basic way to check for one file.
#!/usr/bin/perl -w
$filename1 = '//network_share/file.TXT;
if (-e $filename1) {print "File Exists!"}
else {print "File does not exist!"}
How would i go about checking for another file like filename2 inside the same script?
#!/usr/bin/perl -w
$filename1 = '//network_share/file.TXT;
if (-e $filename1) {print "File Exists!"}
else {print "File does not exist!"}
How would i go about checking for another file like filename2 inside the same script?