Randy Kobes wrote:

+    my @args = split ' ', $cmd;
+    unless (system(@args) == 0) {
        my $status = $? >> 8;
        die "system @_ failed (exit status=$status)";
    }

I suppose that this was not a part of the patch :) And if it is it's a no go, since it'll break an argument with embedded spaces, like "this is a single argument" :)


Sorry about that - you're right, that shouldn't have been
included as part of the patch. I was trying to fix a problem
on Win32 when trying to include an ssl configuration.

No worries, Randy :)

There should be some CPAN module that will parse the arguments correctly. May be some Getopt variant?



--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to