in reply to Referencing bound variables

Just before the print statement in question, add
use Data::Dumper; print STDERR Dumper(\%data);
to see what you have in there. Or just print out keys %data. It's probably 'NAME'.

Caution: Contents may have been coded under pressure.

Replies are listed 'Best First'.
Re^2: Referencing bound variables
by hok_si_la (Curate) on Feb 11, 2005 at 21:56 UTC
    Okay I have an idea what is happening now. It is apparently a session issue. The SQL statement executes alone, and when I dump %data I get this:
    $VAR1 = { 'denied' => undef, 'disk_space' => undef, 'backupdb' => unde +f & on & on.

    Thanks again Roy for your help,
    Hok_si_la