Help for this page
my $sql = <<EOF; select count(*) ROWCOUNT from EMPLOYEE where employee_id = 1 ... print "NO RECORDS FOUND" unless $auth_row->{'ROWCOUNT'} > 0; ...fire the second SQL if ROWCOUNT > 0