in reply to How to store and retreive an array of items from within a hashref
$A->{arrayholder} really an arrayref with objects? Can't see it in your code...
Then you must dereference the arrayref:$self->{arrayholder} = \@bees
foreach my $B (@{ $A->{arrayholder} } ) { .. }
|
|---|