in reply to Re^5: DBI Problem
in thread DBI Problem

Yes I read it. Just tried it both ways as shown in code and corrected in text.

Wit the flush before return, the fact that $session->flush() throws an error:

Software error:

Can't call method "flush" without a package or object reference at /home/jalamior/www/httpsdocs/cgi-bin/lib/perl/manageusers.pm line 198. localizes the problem to the executequery.

Replies are listed 'Best First'.
Re^7: DBI Problem
by huck (Prior) on Sep 30, 2017 at 03:21 UTC

    Ever think of looking at what is in session when you call ExecuteQuery?

    see Re^8: DBI Problem, the problem is not in ExecuteQuery, the problem is where you try to do the $session->flush(); there is nothing to insure session has a valid value in ExecuteQuery.