perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Wesemann <f.wesem...@fotofinder.net>
Subject [$ hidden %hash &bash @arr $]
Date Wed, 09 Jul 2008 17:14:32 GMT
Hello,
with Embperl 2.2 and 2.3 I tried to used the
[$ hidden %myHash $]
Feature, but all I got was an empty line of output.
Here is what I tried:

[-
my %myHash = ( key1 => "val1", key2 => "val2" );
my %diffHash = ();
my @arr = keys %myHash;
-]
and later in the page:
<form>
[$ hidden %myHash %diffHash @arr $]
</form>

I expected to get something like:
<form>
<input type="hidden" name="key1" value="val1">
<input type="hidden" name="key1" value="val1">
</form>

but I got:
<form>

</form>

using just [$ hidden $] with no params works as described.

I also tried it without the % and @, with one, two and three parameters 
to no avail.

In the Archives I found threads from 2000 that treated this issue, so I 
believe that it once worked.
Has it been removed or am I doing something wrong?

Thanks in advance
frank

-- 
mit freundlichem Gruß,

Frank Wesemann
Fotofinder GmbH         USt-IdNr. DE812854514
Software Entwicklung    Web: http://www.fotofinder.com/
Potsdamer Str. 96       Tel: +49 30 25 79 28 90
10785 Berlin            Fax: +49 30 25 79 28 999

Sitz: Berlin
Amtsgericht Berlin Charlottenburg (HRB 73099)
Geschäftsführer: Ali Paczensky




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


Mime
View raw message