in reply to Re^3: Need help with Apache2::Subprocess undefined value error when using spawn_proc_prog
in thread Need help with Apache2::Subprocess undefined value error when using spawn_proc_prog

This is what I used after re-installing apache and mod_perl.
## I included the following ## use Apache2::RequestRec (); use Apache2::RequestIO (); use Apache2::RequestUtil (); use Apache2::SubProcess (); ## ## I used this option as well .. .. my $r = shift; $r->no_cache(1); .. .. ## And then the following my $par_value="test"; my @argv; push (@argv, $par_value); my $cmdfile = "/tmp/test.pl"; $r->spawn_proc_prog($cmdfile, \@argv); .. ..
The above is now working fine.
  • Comment on Re^4: Need help with Apache2::Subprocess undefined value error when using spawn_proc_prog
  • Download Code