In that case,
my @ARRAY = @{ subroutine() || [] };
In reply to Re^3: More efficient dereferencing of a subroutine return
by tobyink
in thread More efficient dereferencing of a subroutine return
by gg48gg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |