in reply to Database Blues
However, when you "use strict", you need to write code that behaves. Variables used in your script have to either be declared with "my" or explicitly qualified. Put
above line 8 in your code, and see what that gives you.my($dbh, $sth);
For more information, do
perldoc strict
|
|---|