Hi list,

My problem will be best explained with an example:

my $generuj = $dbh->prepare("SELECT plpgsql_function(par1, par2,
par3)");
$generuj->execute();
my $nowe = $generuj->fetchrow_array;
generuj->finish();
print "$nowe\n";

Now the plpgsql_function(par1, par2, par3) does some inserts and other
computations and returns an integer, which I'd expect to be assigned
to $nowe but it does not happen. I get Use of uninitialized value
$nowe in concatenation (.) or string at... upon print "$nowe\n".

How do I cope with that ?


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to