The warning message Perl itself emits when it encounters this construct describes it as "deprecated". Surely it's reasonable to follow that example?
In reply to Re^3: returning ref to static var vs. copying
by Porculus
in thread returning ref to static var vs. copying
by perl5ever
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |