in reply to referring to packages indirectly
Read up on UNIVERSAL for more info.eval { no strict "refs"; require "$fqn_file"; local $SIG{'__DIE__'}; ###$ref = $foo->can('f_preferred') ? \&{$foo . "::f_preferred" +} : undef; $ref = $foo->can('f_preferred'); };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: referring to packages indirectly
by chromatic (Archbishop) on Oct 11, 2006 at 23:39 UTC |