On 23-Jun-2000 Gerald Richter wrote:
> <a href="list?page=2&[+ [ %fdat ] +]">Page 2</a>
>
> otherwise Embperl cannot recognise that the [+ .. +] belongs to the href
> attribute.
>
> When you are inside a URL (e.g. href, src) Embperl converts a array ref
> automaticly to
>
> a=1&b=2&c=3
This is a really cool. However, I have a question or idea.
I have some embperl scripts that need to pass a lot of values between them, and
until I discovered this trick, I was always manually typeing the whole
string "value=[+ $fdat{someid} +]&foo=[+ bar +]" etc. However, how about if
you want to change just value, but not change the value in the %fdat hash? That
means you have to make extra variables to back up original values, etc, etc,
and I'm not saving all that much code.
Would it be an idea to add to your code that does the %fdat hash to a=1&b=2&c=3
conversion to do this?
I hope the above makes sense... it's kind of confusing to explain.
Regards,
Wim Kerkhoff, Software Engineer
NetMaster Networking Solutions
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]