Re: Perl and PHP
| From: | Steve Cayford | Date: | Wed, 06 Mar 2002 21:13:22 +0000 |
| Subject: | Re: Perl and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87527@lists.php.net to get a copy of this message | ||
If you're running a perl script on the command line you would use
/path/to/perl/script.pl value1 value2 value3 ...
In your perl script $ARGV[1] should hold value1, $ARGV[2] should hold value2, etc.
-Steve
On Wednesday, March 6, 2002, at 02:48 PM, lists@mhess.qn.net wrote:
I need to pass a variable to Perl from a PHP script. I am somewhat know PHP but I do NOT know perl....I am running my perl script off of the command line. I tried /path/to/somewhere/script.pl?var=var but it did not work. I would love any help you could provide me Thanks, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php