Clear questions and runnable code
get the best and fastest answer
File existance check failureby Festus Hagen (Novice)
|on Nov 10, 2012 at 20:18 UTC||Need Help??|
Festus Hagen has asked for the
wisdom of the Perl Monks concerning the following question:
Seeking wisdom of those that are wiser then I in the Perl world!
To skip the fmi ramble GOTO _MEAT_
A project I work on hasn't been taught how to wipe up after itself and always leaves a mess behind. Very annoying! (unfortunately that responsibility falls on a deaf (and possibly dumb) individual)
So I whipped up batch file for Win and a script for *nix, then got the brainy idea to multi platform it with Perl, considering Perl is required on the systems anyways it'll always be there!
However I find a peculiar difference that prevents me at my current Perl level to get past.
*nix Perl version 5.16.0
It appears "-f" fails with wildcards, should it ??
I have tested the strings for line feeds and the like, they look perf.