opensourcer has asked for the wisdom of the Perl Monks concerning the following question:
hi,
i'm creating new instance like this:
my $instance = new MYPACKAGE(READ_ONLY => 1, \&subroutine);
could any 1 explain where the subroutine in defined, i mean in the same program or in package called MYPACKAGE. if possible with example plz.
Code tags added by GrandFather
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: calling a subroutine while Initializing new
by chromatic (Archbishop) on Sep 17, 2006 at 02:49 UTC | |
|
Re: calling a subroutine while Initializing new
by jkeenan1 (Deacon) on Sep 17, 2006 at 02:55 UTC | |
|
Re: calling a subroutine while Initializing new
by neosamuri (Friar) on Sep 17, 2006 at 03:06 UTC |