Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: OO-call bug uncovered & autovivified functions: defined? exists? (compat)

by tye (Sage)
on Oct 29, 2007 at 02:03 UTC ( [id://647777] : note . print w/replies, xml ) Need Help??


in reply to Re^4: OO-call bug uncovered & autovivified functions: defined? exists?
in thread OO-call bug uncovered & autovivified functions: defined? exists?

Perl has long allowed the taking of references to functions before they have been compiled or even declared. So support for that is indeed required until after the decision is made to no longer support that and after the deprecation cycle can happen.

- tye        

Replies are listed 'Best First'.
Re^6: OO-call bug uncovered & autovivified functions: defined? exists? (compat)
by ikegami (Patriarch) on Oct 29, 2007 at 02:15 UTC

    Of course. I'm not arguing for such a change. There already exists sufficient tools (defined) to check if a function exists. I'm just challenging the claim that autovivification through \& is necessary to call functions loaded dynamically.