Hello,

I want to store  a hash into an array: e.g.: like this

#!/usr/bin/perl -v

print "Content-type: text/html\n\n";

$h{'hello'}="hello";
$h{'by'}="by";
$a[0]=$h;


and if i print out the array like this

print $a[0]{'hello'}." and ".$a[0]{'by'};

but it shows nothing. can somebody explain me where is a problem???
thanks.....


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to