Hi, as you can see, it's usually best to return references to arrays and hashes from functions.
But what about
?($fp->get_files)[-1]
Hope this helps!
In reply to Re: Popping from method that returns a list in one line
by 1nickt
in thread Popping from method that returns a list in one line
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |