Thanks. That I actually knew, but in my opinion it's more clear to read when using braces.
And in the real world case where I was hit by this unknown "oddity" the code looked like this, before the change.
foreach my $var (@{$self->get('SAMPLEIDS')}) { $var =~ s/_//g; push(@temp_SAMPLEIDS, $var); }
In reply to Re^4: Possible bug with array pointer
by jockel
in thread Possible bug with array pointer
by jockel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |