in reply to Re^2: calling a perl script within a perl script
in thread calling a perl script within a perl script
Also couple of things -
1. Can you run your test script on the command line with an argument does it work? can you do that with a * (shell wild-card) does it work?
2. Do something like my $ret = `perl test_script.pl $f`; and then print out $ret for each file.
Make sure you have use warnings
Hope this helps.
-SK
Update: Thanks sgifford! It is a good point and I think that could be the reason why the script is failing.
sbp, Actually tho, i am wondering why would you even need this wrapper script? Can't you just do test_script.pl * on the directory you want?
|
---|