I've a code snippet which does some sequence of action upon a file test operation. However the perl which i use is old and uselargefiles='UNKNOWN'. The code does not recognise the $file ( > 2GB)instead it jumps to the else part as if the $file size was zero. Is there a way to make perl recognize the $file greater than 2GB without recompiling/upgrading to a new version or how to exit the code during encounters with $file >2GB (when its not able to recognise the $file)
if ( -s $file ) { .....} else {...}
In reply to file test operation on files greater than 2gigs by dibre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |