Checking -e first is a bad idea, as it leads to race conditions (the file might be deleted between the -e and -s). Just call -s. If it gives undef, the file doesn't exist.
The OP is so vague that I'm not sure whether "datasize" is a field in the XML or the length of some part of the XML.
In reply to Re^2: Perl script
by Anonymous Monk
in thread Perl script
by namisha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |