Think about Loose Coupling | |
PerlMonks |
find2perl -exec on Windowsby QM (Parson) |
on Feb 11, 2005 at 20:04 UTC ( [id://430237]=perlquestion: print w/replies, xml ) | Need Help?? |
QM has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to do this on a windows box:
which gives me (after spitting out the results of dir . ..): Here is the output from find2perl:
Now I may have missed some portability issues, but it seems to me that $cwd never gets set, because its assignment happens at line 33, while execution of "main" ends at the exit at line 24. I've checked this in the debugger by trying a breakpoint at line 33, to no avail. Am I off base, or is this broken? How would I fix this without editing the find2perl output directly? Is there a real Windows version of find2perl? Meanwhile, I'm wondering why find2perl.bat comes with the AS install if I can't do things like:
-QM
Back to
Seekers of Perl Wisdom
|
|