Come to Basics again
Its about fundamental concepts around Computer Technologies...
Saturday, March 20, 2010
File Exist script in Perl
#!/usr/bin/perl -w
$filename = 'C:\myfile.txt';
if (-e $filename) {
print "File Exists!";
}
else
{
print "File does not Exist!";
}
‹
›
Home
View web version