• Subject: Re: Perl scripts?
  • From: Phil Groschwitz <sublime78ska@xxxxxxxxx>
  • Date: Mon, 13 Nov 2000 07:31:22 -0800 (PST)

> And, even if I do get
> into a library on the 400, I've still got to figure
> out how to make the
> javascript access the cgi via the CGI directory in
> the IFS.
> 
You can not call perl directly.  You have to call it
via an as/400 pgm.  Easiest is to create a cl which in
turn calls the perl pgm with the location of the perl
script as a parameter.  But this is very inflexible. 
I use rpg and get the path to the perl script out of
QUERY_STRING.  This way I have one pgm.  Someone on
another list (ignite400) suggested using a cookie but
I haven't tried that yet.

Phil

__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].