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

Re: Class::DBI not intuitive

by hardburn (Abbot)
on Jul 26, 2004 at 21:07 UTC ( [id://377581]=note: print w/replies, xml ) Need Help??


in reply to Class::DBI not intuitive

I am still retrieving the year am i not?

Yes. What's your point? In CDBI, the class represents a complete table, and the object you get back from Class::DBI->retrieve() represents a single row in the database. You can also get a list of objects back from Class::DBI->search() or retrieve_all(). Or you can call either in scalar context and get an iterator that let's you go through the objects, if you like that sort of thing.

----
send money to your kernel via the boot loader.. This and more wisdom available from Markov Hardburn.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-18 11:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found