in reply to Re^3: what does the retval of can() do ?
in thread what does the retval of can() do ?
$a = A->new ; $b = $a->can('test') ; A->$b() if defined $b ; $b = undef ; # de-ref
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: what does the retval of can() do ?
by chromatic (Archbishop) on Feb 16, 2006 at 06:58 UTC |