perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kolikov <koli...@free.fr>
Subject Re: Problem with %udat and references
Date Fri, 13 Apr 2012 08:54:33 GMT
Le 12/04/2012 16:02, Jean-Christophe Boggio a écrit :
> When I reach somewhere.html, $udat{verdict} is populated only when the 
> second line
> is active (the one explicitly defining the arrayref as ["1","bla","x"]).
> When I try with a reference to @tmp it is just a reference to an empty 
> array.
>
> What am I missing ? Anyone else experimenting such behaviour ? 

$udat{verdict} being a scalar, assigning an array to it makes it a 
refference.

Embperl is perhaps assigning \@tmp as a reference of reference.

But if you say that it refences an empty array, it makes wonder if perl 
just doesn't accept this assignation, WITHOUT
throwing an exception OR embperl just ignores this kind of behaviour.


puzzling ! :(


Bregs,

-- 
Nuguet romuald : kolikov@free.fr
---------------------------------
Internet est conçu avec des formats ouverts, donc :
- Afin de n'exclure personne
- Pour que vos données restent lisibles dans le futur.
Merci ne joindre que des fichiers au format ouvert : odt, pdf, html etc...
http://fr.wikipedia.org/wiki/Alternatives_ouvertes_aux_formats_ferm%C3%A9s
---------------------------------


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


Mime
View raw message