in reply to Re^2: selectrow_array() confusion
in thread selectrow_array() confusion

I really have shown you the right code, honestly.

This is a minimum test case

#!/sw/bin/perl use strict; use warnings; use DBI; my $d = DBI->connect( 'DBI:mysql:imagedb:localhost', 'root', '******', { RaiseError => 1 } ) || die("couldn't connect to database"); my ( $min, $max ) = $d->selectrow_array( "SELECT min(id),max(id) from images where gallery_path like '/px6% +'") || die $d->errstr; print "min: $min; max: $max;\n";
And when I run it, I get:
Use of uninitialized value in concatenation (.) or string at ab.cgi li +ne 13. min: 61893; max: ;

Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...