Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Does there exist a CPAN module for lazily initialized variables?

by lachoy (Parson)
on Jul 14, 2004 at 18:52 UTC ( [id://374390]=note: print w/replies, xml ) Need Help??


in reply to Does there exist a CPAN module for lazily initialized variables?

Object::Realize::Later does not explicitly deal with tied variables but seems to be flexible enough to do what you want.

Chris
M-x auto-bs-mode

  • Comment on Re: Does there exist a CPAN module for lazily initialized variables?

Replies are listed 'Best First'.
Re^2: Does there exist a CPAN module for lazily initialized variables?
by jryan (Vicar) on Jul 14, 2004 at 19:04 UTC

    It almost seems... *too* flexible. :) My whole jive is that I don't want to go through the trouble of creating these Singleton classes, which it seems like I'd have to do with Object::Realize::Later anyways. Thanks for the tip, though; with my extremely inept searching abilities, I don't think I would have found Object::Realize::Later on my own.

    Update: Another thought: I might be able to use Object::Realize::Later to create only a small single class that handles the automatic initialization... although that also might be more trouble than its worth...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-19 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found