You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Martin Langhoff <ma...@scim.net> on 2001/01/11 17:33:38 UTC

Automatic %fdat URI encoding

Hi,

	I would have sworn that Embperl could recognize a tag like:

	<a href="[+ $ENV{'SCRIPT_NAME'} +]?[+ %fdat +]">

	and automagically encode %fdat as URI parameters... Am I wrong? I could
not find it in the man pages ... 

	Mhhh. Just in case it's a new feature: 

perl -MHTML::Embperl -e 'print $HTML::Embperl::VERSION'
1.2.1



Martin

Re: Automatic %fdat URI encoding

Posted by Gerald Richter <ri...@ecos.de>.

> Nevermind,
>
>         just found out... should've been
>                 <a href="[+ $ENV{'SCRIPT_NAME'} +]?[+ [ %fdat ] +]">
>
>

1.3.0 also accepts

<a href="[+ $ENV{'SCRIPT_NAME'} +]?[+ \%fdat  +]">

which passes a referece to %fdat instead of creating an annoymous array and
is therefor a little bit faster

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------


>         thanks
>
>
> martin
>
> Martin Langhoff wrote:
>
> >         I would have sworn that Embperl could recognize a tag like:
> >
> >         <a href="[+ $ENV{'SCRIPT_NAME'} +]?[+ %fdat +]">
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>
>


Re: Automatic %fdat URI encoding

Posted by Martin Langhoff <ma...@scim.net>.
Nevermind, 

        just found out... should've been 
                <a href="[+ $ENV{'SCRIPT_NAME'} +]?[+ [ %fdat ] +]">


        thanks


martin

Martin Langhoff wrote:

>         I would have sworn that Embperl could recognize a tag like:
> 
>         <a href="[+ $ENV{'SCRIPT_NAME'} +]?[+ %fdat +]">