oh.. yeah use @ARGV
perl.pl "something" "is" "in here"; in your perlscript the following is true: @ARGV[0] eq "something" @ARGV[1] eq "is" @ARGV[2] eq "in here" > -----Original Message----- > From: Batchelor, Scott [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 10, 2002 3:59 PM > To: 'Nikola Janceski'; '[EMAIL PROTECTED]' > Subject: RE: Calling Perl script from php. > > > I am using an exec command like this: > > Exec "perl.pl $variable" > > Scott > -----Original Message----- > From: Nikola Janceski [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 10, 2002 2:57 PM > To: 'Batchelor, Scott'; '[EMAIL PROTECTED]' > Subject: RE: Calling Perl script from php. > > How are you passing this variable? (Sorry never used php). > are you using standard CGI methods of post or get? if so, see > perldoc CGI > > > > -----Original Message----- > > From: Batchelor, Scott [mailto:[EMAIL PROTECTED]] > > Sent: Monday, June 10, 2002 3:52 PM > > To: '[EMAIL PROTECTED]' > > Subject: Calling Perl script from php. > > > > > > Hey all. > > > > Quick question I am calling a perl script from a php page I > > think I have > > that part working. I am passing perl a variable when calling > > it. How do I > > read that variable into my perl script? > > > > Do I use $ARGV? > > > > > > Could someone give me a quick example. > > > > Thanks in advance. > > > > Scott > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -------------------------------------------------------------- > -------------- > -------------------- > The views and opinions expressed in this email message are > the sender's > own, and do not necessarily represent the views and opinions of Summit > Systems Inc. > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
