Since db handles persist , I was wondering if it is effiecient if every function that accesses the database creates its own db connection.
Before using mod-perl, i passed the handle to the subs. However, i'd rather not have the caller's worry about the data at all and just say %cstmr_info = Customer::contact_info() or something like that. thanks __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html