in reply to multi dimension array
Get all fruits with pmy %h = ( fruits => { p => [ 'peach' ], g => [ 'grapes' ], }, birds => { p => [ 'parrot' ], c => [ 'crow' ], } );
to add a fruit use@all_p_fruits = @{$h{fruits}->{p}};
push @{$h{fruits}->{p}}, 'peach_yellow';
|
|---|