|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re^2: Eliminating conditional code for GUI and text-mode operationby gnosti (Pilgrim) |
| on Dec 08, 2007 at 09:09 UTC ( #655812=note: print w/ replies, xml ) | Need Help?? |
|
I'm thrilled to begin getting this... although some hours are going by... As stand-alone code, this example produces the expected output. As a module (built with the h2xs boilerplate) make test fails with: Tried to use 'TestOO'. # Error: Can't locate object method "new" via package "UI::Graphical" at /media/jroth/ecmd-dev/TestOO/blib/lib/TestOO.pm line 56. Any ideas about this? I just pasted this stuff into the 'precompiled methods go here' indicator in the boilerplate. Is there a reason why the children would inherit 'new' from the superclass in one context and not in another?
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||