On Oct 28, 2005, at 21:28, jm wrote:
i'm modifying a script to run on a sun box that i do not have
privileges to install modules in the normal perl paths. subsequently
i installed DBI.pm into a modules subdir under my home dir. below are
the 2 relevant lines:
use lib "$ENV{HOME}/modules/DBI";
our $mysql_dbh = DBI->connect("DBI:mysql:host=x.x.x.x", "user",
"password", {RaiseError => 1});
this is the error msg i get:
Can't modify subroutine entry in scalar assignment at ./ca-cisco line
64, near ");"
Perl version?
-- fxn
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>