perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: Having problems passing form variables
Date Sun, 04 Jun 2000 18:19:27 GMT
>
> Occasionally I find I need to copy hash values to temp variables to get
> things to work right.
> [..]
>
> Otherwise I get some cryptic hash reference instead of the value.  I
> remember stumbling across an explanation of this somewhere.

You must not insert spaces between a variable inside a double quoted string,
i.e.:

"$fdat{foo}"  -> ok
"$fdat {foo}" -> doesn't work

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
-------------------------------------------------------------


Mime
View raw message