Re: Problem with PERL Informix strict refs
Posted in 2003
On Mon, 09 Jun 2003 22:15:19 +0530, "Chavan Koya" <chavankoya189@hotmail.com> wrote: >some_varible=Can't use string ("Informix") as a HASH ref while "strict refs" >in use at /opt/perl >5/lib/site_perl/5.8.0/PA-RISC2.0-LP64/DBD/Informix.pm line 146$ >+ exit_stat=255 > >Can't use string ("Informix") as a HASH ref while "strict refs" in use at >/opt/perl5/lib/ >site_perl/5.8.0/PA-RISC2.0-LP64/DBD/Informix.pm line 146. != 0 ] What does your connect statement look like? Take a look at the DBI documentation, and follow the instructions there for the connect method. The correct syntax is: $dbh = DBI->connect("dbi:Informix:$dbname", $user, $password, {%options}); I think you somehow have "Informix" in the options... HTH, Douglas Wilson