Q&A > database programming
|Answer: How do I pass a database handle in DBI between subroutines?|
contributed by lhoward
Just like you would any other object... See my example below showing passing a database handle in and out of 2 functions.
Please (register and) log in if you wish to add an answer
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr