That instructs Perl to execute the file "perl -w crrep.pl". You want
system "perl", "-w", "crrep.pl", $file; -or- system qq{perl -w crrep.pl "$file"};
In reply to Re^2: run another perl script in perl
by ikegami
in thread run another perl script in perl
by satzbu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |