|
|
| Just another Perl shrine | |
| PerlMonks |
File existance check failureby Festus Hagen (Novice) |
| on Nov 10, 2012 at 20:18 UTC ( #1003275=perlquestion: print w/ replies, xml ) | Need Help?? |
|
Festus Hagen has asked for the
wisdom of the Perl Monks concerning the following question:
Hey y'all 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 _MEAT_ It appears "-f" fails with wildcards, should it ?? I have tested the strings for line feeds and the like, they look perf. Example:
Ideas ?? Thanks all -Enjoy
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||