http://www.perlmonks.org?node_id=741684

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:

$ui->init_gui

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.