Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Class::DBI and Ima::DBI and ints and objects

by trs80 (Priest)
on Aug 20, 2003 at 21:13 UTC ( #285294=note: print w/replies, xml ) Need Help??


in reply to Class::DBI and Ima::DBI and ints and objects

set_sql creates a *closure* named 'sql_' + key. There is no corresponding closure with a name without the 'sql_' on it. There is a set_sql in the Class::DBI module that checks the connection to make sure the correct one gets passed to the Ima::DBI set_sql method. set_sql in Ima::DBI passes the statement to _mk_sql_closure to make the closure. So sql_maxid is NOT a method, but rather a closure. There is some GLOB magic going on that makes it appear like a method. See the subs sql_set and _mk_sql_closure inside of the Ima::DBI module.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://285294]
help
Chatterbox?
[james28909]: howdy, could a kind monk help me test connectivity to my ftp server? i cannot connect to it from within my home network behind a public ip (i have a dynamic ip) and just need to make sure users can connect.
[james28909]: oh nevermind, i see one of the users in the list of connected users now. thanks!
erix could you an extra bit of cloud too
[erix]: heh I wrote 'you' instead of 'use' - dumb sound-typing

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-07-27 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (416 votes). Check out past polls.