... and 4. Sometimes, you just WANT to get/return a reference to a fresh copy, e.g. because you don't want the caller to damage the original array.
Alexander
In reply to Re^4: returning ref to static var vs. copying
by afoken
in thread returning ref to static var vs. copying
by perl5ever
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |