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
In reply to Re: Dereference an array reference
by Russ
in thread Dereference an array reference
by fmogavero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |