our $serverDB = "blahblahblah"; . . . our $db = "DBI:mysql:$serverDb:$serverName";
You didn't capitalize the last 'b' in $serverDb.
BTW--Generally, globals are capitalized to make it clear that they are, in fact, globals. Words are seperated with '_' chars, so your $serverName would become $SERVER_NAME. This idiom would have saved you above.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
In reply to Re: "use strict;" woes
by hardburn
in thread "use strict;" woes
by toonski
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |