That should beforeach my $l ($mctest->{loglines}) { print $l . "\n"; }
$mctest->{loglines} is a reference to an array; @{$mctest->{loglines}} is that array.foreach my $l(@{$mctest->{loglines}}) { print $l . "\n"; }
Dave.
In reply to Re^3: Blessing object changes array attribute in array of arrays?
by dave_the_m
in thread Blessing object changes array attribute into array of arrays?
by mclow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |