to:sub get_stack_list() { # ...
i.e. remove the pair of parentheses after the subroutine name. This change should work on both your Perl versions.sub get_stack_list { # ...
In reply to Re: function prototyping & perl 5.8.20
by Laurent_R
in thread function prototyping & perl 5.8.20
by topherv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |