Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
use Subs; my %menu = ( n => \&Subs->new; ); . . . $menu{n}->();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: references to subroutines
by Anonymous Monk on Mar 14, 2002 at 00:44 UTC | |
by merlyn (Sage) on Mar 14, 2002 at 01:38 UTC |