in reply to Passing reference to subroutine
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 Section
Seekers of Perl Wisdom