We don't bite newbies here... much | |
PerlMonks |
Re^2: Creating new objects from within a packageby hawtin (Prior) |
on Jul 22, 2004 at 07:46 UTC ( [id://376493]=note: print w/replies, xml ) | Need Help?? |
Yes, thank you dave_the_m that explains it. Of course in most real code this issue will never arise because the class will be declared before it is called. And in this case I can fix the issue by "predefining" the forward ref with
somewhere before the class is used
In Section
Seekers of Perl Wisdom
|
|