Thargor has asked for the wisdom of the Perl Monks concerning the following question:
Ok I am pretty new to perl and have been working on my first website that has a database using class::dbi. My question is what is the most efficient way to step through a database printing everything on each row. I can write to the database easily enough. My primary key in the database is an int that auto increments. If any of you could point me to some explaination or code that demonstrates how to cleanly walk through a db it would be much appreciated.
Oh and I should say I have read the stuff on reading from a database on the tutorials page. All of my database access is through modules and where I am inputing and reading from the database is in a test script.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: question about printing from database
by friedo (Prior) on Feb 24, 2005 at 19:29 UTC | |
by Thargor (Scribe) on Feb 24, 2005 at 19:53 UTC | |
Re: question about printing from database
by hok_si_la (Curate) on Feb 24, 2005 at 20:55 UTC |
Back to
Seekers of Perl Wisdom