Le 13/04/2012 10:54, kolikov a écrit :
$udat{verdict} being a scalar, assigning an array to it makes it a refference.
I assign it a reference to an array
Embperl is perhaps assigning \@tmp as a reference of reference.
Nope : I'm checking the array's content with Data::Dumper
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.
This works : $udat{verdict} = []; push(@{$udat{verdict}},$_) foreach (@verdict); Hopefully, @verdict is a very small array so it doesn't add too much overhead. > puzzling ! :( Crazy ! Maybe Gerald has some explanation or I've missed something in the documentation. Thanks for your help, -- Jean-Christophe Boggio -o) embp...@thefreecat.org /\\ Independant Consultant and Developer _\_V --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org For additional commands, e-mail: embperl-h...@perl.apache.org