in reply to Syntax to call a subroutine from a reference
Update: See perlref, especially example 2 in the "Using References" section.$x->{'result'} = &{$x->{'subname'}}();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Syntax to call a subroutine from a reference
by herveus (Prior) on Sep 21, 2005 at 18:17 UTC |