On Thu, Sep 27, 2001 at 06:09:43PM -0700, Andy Lim wrote: > Is there any way that I can call this perl CGI program on server A from the > inside of my embeded perl code on server B and get the return value from > that cgi program?
Not "nicely" unless I, too, am missing something obvious :) Basically you have to make a request to that URL, get back the output and the parse it into whatever data structures you want. I'm sure there are less ugly ways of doing it but using LWP is something I do fairly often (tho not from within Embperl). perldoc LWP and take the first example which does a fairly simple request with POST data. HTH -- Andrew O'Brien Product Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 1133 ABN 89 092 286 327 fax: +61 2 9299 1134 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]