http://www.perlmonks.org?node_id=168642

talexb has asked for the wisdom of the Perl Monks concerning the following question:

This is a little frustrating, partly because I think I know DBI fairly well, and partly because I think I know my way around programming. Does anyone have any idea why
DBI->trace ( 2 ); my $UserID = $hDB->quote ( $Vars->{ userid } ); my $Password = $hDB->quote ( $Vars->{ password } ); DBI->trace ( 0 );
correctly puts values into $userID and $Password but
DBI->trace ( 0 ); my $UserID = $hDB->quote ( $Vars->{ userid } ); my $Password = $hDB->quote ( $Vars->{ password } ); DBI->trace ( 0 );
does not? (I get NULL values instead.)

A quick search through the Monastery hasn't turned up anything obvious. Many thanks in advance to the obvious answer. (Hopefully not really obvious.)

I'm running this from the command line using the debugger. Weird.

--t. alex

"Nyahhh (munch, munch) What's up, Doc?" --Bugs Bunny