in reply to 'exec' & 'Location' problem
Example 2:#!/usr/bin/perl -w if (condition) { system '/usr/.../another.pl'; } print "Location: http://test/ \n\n";
There are other methods too, like using Apache mod_perl's spawn_sub_process, etc.#!/usr/bin/perl -w if (condition) { `/usr/.../another.pl` # notice the use of the back quote. } print "Location: http://test/ \n\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: 'exec' & 'Location' problem
by Abigail-II (Bishop) on Sep 12, 2003 at 10:37 UTC | |
by Roger (Parson) on Sep 12, 2003 at 13:12 UTC | |
|
Re: Re: 'exec' & 'Location' problem
by hmerrill (Friar) on Sep 12, 2003 at 12:44 UTC |