> From: Mike Satkevich <[EMAIL PROTECTED]>
> Date: Mon, 8 Jan 2001 11:36:54 -0500 

> I find myself copying and pasting my SQL statements for reading and saving
> records.  Then if I add a field, I need to update all my cgi scripts.
> 
> I would like to store the SQL in a module, but then the variables become
> local to that module.
> 
> What is the best way to re-use database subroutines?

Class::DBI?  (haven't tried it)

http://search.cpan.org/search?module=Class::DBI

-- 
John Tobey, late nite hacker <[EMAIL PROTECTED]>
\\\                                                               ///
]]]             With enough bugs, all eyes are shallow.           [[[
///                                                               \\\

Reply via email to