Try to make a habit of using strict and warnigs in all of your perl scripts. That would have revealed the out of scope error that Narveson has told you about.
use strict; use warnings;
In reply to Re: Passing reference to subroutine
by kubrat
in thread Passing reference to subroutine
by iphony
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |