Problems? Is your data what you think it is? | |
PerlMonks |
Re: -s test option returns differently in some casesby parv (Parson) |
on Oct 14, 2013 at 11:25 UTC ( [id://1058172]=note: print w/replies, xml ) | Need Help?? |
Could the problem be due to use of auto mount of a NFS directory (given auto mount is actually being used)? For whatever reason, perhaps use of ls is more forceful than size or emptiness test. Then again both -- ls & -X -- get the information via stat call, no? Seems like something might have changed in perl + Suse combination. Does calling stat() explicitly on file path (and not running system ls) before -[sz] make a difference?
In Section
Seekers of Perl Wisdom
|
|