Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Help understanding object constructors

by pg (Canon)
on Nov 07, 2005 at 05:30 UTC ( #506231=note: print w/replies, xml ) Need Help??

in reply to Help understanding object constructors

That was not a loop, but a hash reference.

This sub is the constructor of a class, which most likely wraps a database session (or could be a web session). The hash ref stores the attributes of the object. It contains a set of information enough to identify the session, indicating which connection to which database resides on which server etc. Those attributes are initialized to undef to begin with.

  • Comment on Re: Help understanding object constructors

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://506231]
[chacham]: survival of the fittest?
LanX "If Croesus goes to war he will destroy a great empire."
[LanX]: s/Croesus/May/

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2017-03-29 09:59 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (344 votes). Check out past polls.