Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^6: OO-call bug uncovered & autovivified functions: defined? exists?

by ikegami (Patriarch)
on Oct 29, 2007 at 02:09 UTC ( [id://647779] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "a:", exists(&frobnicate)?1:0, "\n";             # 1
    
    ...
    
    sub frobnicate { '...' }
    sub knobnicate { '...' }