|P is for Practical|
'use subs' causes method to vanishby gnosti (Hermit)
|on Feb 05, 2009 at 20:34 UTC||Need Help??|
gnosti has asked for the
wisdom of the Perl Monks concerning the following question:
Hello August Monks and Monkesses!
I've got an app with a subroutine, init_gui(), that is called through an object:
When I add the line:
use subs 'init_gui';
to the Graphical package where init_gui() is defined, my app dies with undefined subroutine &...Graphical::init_gui called in line 895.
A test using an identical object model does not exhibit this behavior, nor does 'use subs' cause every method to fail.
What parts of perl or of my app, should I be examining to better understand what is going on? AFAIK there is no source filtering where I can lay the blame.
Thanks for reading.