abhishekv has asked for the wisdom of the Perl Monks concerning the following question:
I am using perl version v5.20.3 . Using QNAP machine
Problem in cheking the existence of file. error : Value too large for defined data type
#!/opt/bin/perl use strict; use warnings; my $fileName = '/share/CACHEDEV1_DATA/Download/testFile.avi'; if (! -e $fileName){ print "Error ".$!."\n"; } else{ print "\nSuccess $!\n"; }
For text files its working fine. How to check the existance of '.avi' files?
|
|---|