in reply to my hash used only once: possible typo

I presume you are using
our %q;
in SQL_Wrapper? Change it to
use vars qw( %q );

Of course, you could provide a reasonable interface instead

my %q = SQL_Wrapper->q;

Replies are listed 'Best First'.
Re^2: my hash used only once: possible typo
by saintex (Scribe) on Aug 26, 2010 at 12:48 UTC
    what is the difference beetween "our" and "use vars"?
    Thank you for your answer