in reply to Re: run another perl script in perl
in thread run another perl script in perl

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"};