Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: Passing Variables

by Anonymous Monk
on Oct 23, 2004 at 18:34 UTC ( [id://401905]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^3: Passing Variables
in thread Passing Variables

so, If I passed $dbh into a method, then that method should beable to access all functions attached to $dbh?

Replies are listed 'Best First'.
Re^5: Passing Variables
by steves (Curate) on Oct 23, 2004 at 18:36 UTC

    Yes, when a function gets passed a blessed reference (a reference to an object) then the methods associated with that object are available without explicitly importing them.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://401905]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.