> Example, which works:
> 
> %hasha = ( 'b' => 'c', 'd' => 'e' );
> %hashb = ( 'f' => 'g' );
> @array = ( \%hasha );
> push (@array,\%hashb);

Also can be written as:

my @array = {
    b => 'c',
    d => 'e'
};

push @array, {
    f => 'g'
};

Jonathan Paton

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


Reply via email to