returns an array with a single element, that then contains all the @output's. But if I try to 'scalar @a' I get '1', and if I scalar @a[0] or scalar($a[0]) I get a bunch of ARRAY refs.my @a = $results{$addr};
Try instead the same what you you have done to push at the array.
my @a = @{$result{$addr}};
Greetings,
Janek
In reply to Re: Counting the elements of a hash of arrays of arrays
by bigj
in thread Counting the elements of a hash of arrays of arrays
by Clownburner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |