Thanks a lot Eureka. This turned out to be the problem...
A simple
if (-A "$dirPath\\$file" > 30) made everything hunky-dory.
Azatoth a.k.a Captain Whiplash
Make Your Die Messages Full of Wisdom!
Get YOUR PerlMonks Stagename here!
Want to speak like a Londoner?