Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Get reference to newly-created arrayby almut (Canon) |
on Oct 22, 2007 at 18:00 UTC ( [id://646522]=note: print w/replies, xml ) | Need Help?? |
As long as you don't need to initialise the array, you should be fine if you simply omit the parentheses. For example
when called as
would print as expected
In Section
Seekers of Perl Wisdom
|
|