On Mon, Aug 22, 2016 at 4:31 PM, dan moylan <j...@moylan.us> wrote: > > Can't call method "prepare" on an undefined value at > > /home/moylan/ulmmoy/prl/sub/USR/USR.pm line 777. >
The problem occurs several possibly many lines earlier. Wherever $dh0 is initialized, it should be checked for ! defined $dh0 and if so, the error text from the failed statement should be logged and the world stopped. I'm glad to see you're using prepared statements ... because no one wants to play with Bobby Tables bobby-tables.com: A guide to preventing SQL injection > Who is Bobby Tables? From the webcomic xkcd. > School: Hi, this is your son's school. We're having some computer trouble. > Mom: Oh, dear -- Did he break something? > -- Bill Ricker bill.n1...@gmail.com https://www.linkedin.com/in/n1vux _______________________________________________ Discuss mailing list Discuss@blu.org http://lists.blu.org/mailman/listinfo/discuss