Thursday, October 22, 2009

dear perl: this syntax blows: $arrayref = $hashref->{foo}{array} ; for $item (@$arrayref) { $item->{something}; }

2 comments:

Eric (freiheit) said...

Why not just: for $item (@{$hashref->{foo}{array}}) { $item->{something}; } ?

DanaJKalman said...
This comment has been removed by a blog administrator.