in reply to Re^4: OO-call bug uncovered & autovivified functions: defined? exists?
in thread OO-call bug uncovered & autovivified functions: defined? exists?
my %OPS = ( frob => \&frobnicate, knob => \&knobnicate, ); sub frobnicate { ... } sub knobnicate { ... }
As for a reference evaluating to undef, the concept seems wrong. If a reference can't be taken it should be an error; if it can, you should get a reference. Are there any examples of this behavior in Perl now?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: OO-call bug uncovered & autovivified functions: defined? exists?
by ikegami (Patriarch) on Oct 29, 2007 at 02:09 UTC | |
by Somni (Friar) on Oct 29, 2007 at 02:38 UTC |