Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: My promiscous singleton

by tobyink (Canon)
on Dec 29, 2019 at 18:16 UTC ( [id://11110735]=note: print w/replies, xml ) Need Help??


in reply to My promiscous singleton

You declare two different variables called $instance.

Replies are listed 'Best First'.
Re^2: My promiscous singleton
by Random_Walk (Prior) on Dec 30, 2019 at 00:28 UTC

    You are right. I had gone blind looking at complicated issues of variable scope and missed that which was staring me in the face. Thanks.

    Cheers,
    R.

    Pereant, qui ante nos nostra dixerunt!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11110735]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-23 17:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found