I can't turn mycode.pl into a real module. Coz in real situation it is a executable binary.use Acme::Spork; my $req_id = spork( sub { system("perl mycode.pl -email \"$uemail\" +-type $sometype -unit $someunit"); } ) or die qq {Could not fork for spork: $!};
In reply to Re^2: Problem passing a string in system function
by Anonymous Monk
in thread Problem passing a string in system function
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |