in reply to Re: Variable scope & subroutines
in thread Variable scope & subroutines

Last time I checked the database handle does not dictate read/write/update/delete access to the database.

The handle results from connecting as a user, so it definitely does. That said, I don't see how this relates.

Replies are listed 'Best First'.
Re^3: Variable scope & subroutines
by InfiniteSilence (Curate) on Apr 12, 2011 at 16:47 UTC
    The code shown has a different function for different operations like update, insert, etc. Each function creates another database handle inside of the function rather than accepting the handle as an argument.

    Celebrate Intellectual Diversity