in reply to Dereference an array reference
The @{} will dereference your things array and make $_ be each item. So, if $self->things is an array of names, you will replace XXXXX with $_.foreach (@{$self->things}){...}
Does this address the problem?
Russ
Brainbench 'Most Valuable Professional' for Perl
|
---|