This isn't the first time I've tried this. Of course you were right and it
works now, but I doubt that the other times that I have tried it it was a
typo. Anyway use strict it is from now on.
Thanks,
Patrick
> On Mon, Apr 30, 2001 at 05:32:48PM -0500, J. Patrick Lanigan wrote:
> > I have the following lines in my script...
> >
> > Line #10> $mybd='test';
> >
> > Line #22> my $dbh = DBI->connect("DBI:Pg:dbname=$mydb") || die "Can't
> > connect to $data_source: $DBI::errstr";
>
> If you would `use strict` like perl's Fine Manual recommends, you
> would have
> caught the typo on line 10 a long time ago.