How can I pass a reference to an anonymous empty array to a subroutine? Here is how I can pass an anonymous empty array to a subroutine:
&foo(qw());
Now how can I do the same with a reference to an anonymous empty array? I tried this:
&foo(\qw());
but that didn't work.
In reply to passing anonymous empty array reference to subroutine by Special_K
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |