Think about Loose Coupling | |
PerlMonks |
Re^9: Problem with around BUILDARGSby stvn (Monsignor) |
on Apr 23, 2011 at 01:36 UTC ( [id://900900]=note: print w/replies, xml ) | Need Help?? |
My best guess based on your code and the error, is that you are calling startServer as a class method, which then calls serverLocation as a class method instead of an instance attribute accessor, which means it wont be initialized.
-stvn
In Section
Seekers of Perl Wisdom
|
|