You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Brent Dax <br...@brentdax.com> on 2004/01/23 23:02:45 UTC

Getting the current script's address

Hello,
While porting a CGI script to Embperl, I came across the following
expression:

	$q->url(-query=>1)	#$q is a CGI object

Is there an Embperl equivalent to CGI->url?  The documentation doesn't
seem to mention one.

Thanks,
--Brent Dax <br...@brentdax.com>
Perl and Parrot hacker
 
"Yeah, and my underwear is flame-retardant--that doesn't mean I'm gonna
set myself on fire to prove it."


P.S. Please send replies to me directly in addition to the list, as I'm
not subscribed.


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Getting the current script's address

Posted by Gerald Richter <ri...@ecos.de>.
>
> Is there an Embperl equivalent to CGI->url?  The documentation doesn't
> seem to mention one.
>

In 1.3 use %ENV, in 2.0b10

$epreq -> param -> uri

see http://perl.apache.org/embperl/pod/doc/Config.-page-2-.htm#sect_15

Gerald

--------------------------------------------------------------
Gerald Richter     ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
--------------------------------------------------------------
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: Getting the current script's address

Posted by Tom Briles <tb...@loopone.com>.
Use %ENV.

- Tom

> Is there an Embperl equivalent to CGI->url?  The
> documentation doesn't seem to mention one.



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org