in reply to prepared statement

This has nothing to do with whether you use 'my' or not. You call $dbh->prepare whenever the subroutine is run. (It is possible that the method prepare checks if it is called with the same parameters and does nothing in that case, check your module documentation)

Replies are listed 'Best First'.
Re^2: prepared statement
by saintex (Scribe) on Aug 18, 2010 at 16:43 UTC
    ok,
    I understood!
    Thank you!