@{ $self->bar || +[] }
What's with that '+' in there? I mean, I get that it is usually used for disambiguation (e.g. @{ $self->bar || +shift }). But, what makes this plus needed?
(I'm not a Perl beginner, but I have never seen Perl like this: is this a dumb question?)
In reply to Array Plus Operator by SleepyJay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |