in reply to Re: Problem passing a string in system function
in thread Problem passing a string in system function
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: $!};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Problem passing a string in system function
by HuckinFappy (Pilgrim) on May 19, 2006 at 15:19 UTC | |
|
Re^3: Problem passing a string in system function
by DaWolf (Curate) on May 20, 2006 at 08:44 UTC |