Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^9: Problem with around BUILDARGS

by stvn (Monsignor)
on Apr 23, 2011 at 01:36 UTC ( #900900=note: print w/replies, xml ) Need Help??


in reply to Re^8: Problem with around BUILDARGS
in thread Problem with around BUILDARGS

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

Replies are listed 'Best First'.
Re^10: Problem with around BUILDARGS
by saintex (Scribe) on Apr 26, 2011 at 09:17 UTC
    Hello,
    thank you for your suggestion:
    and how can I force serverLocation to be an instance and not a class method?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://900900]
help
Chatterbox?
[erix]: Alvin Lee dead too -- we're stuck with Karl, I'm afraid :)
[erix]: ok, one to remember Alvin Lee (Ten Years After - Help Me)
stevieb has a significant craving to hear "My guitar gently weeps"...
[Corion]: stonecolddevin: I think Jack White is highly regarded, but ...
[Corion]: ... I'm not really knowledgeable about good guitar players
[stonecolddevin]: I've been on a Stevie Ray Vaughan kick lately: https://www. youtube.com/watch? v=wVjdMLAMbM0
[stonecolddevin]: Corion I haven't heard much of his work to be honest.
[erix]: here is a nice cover, stevieb

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2017-06-22 21:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (531 votes). Check out past polls.