hallo!
With reference to Dawn H on 04.07 00:36:
> The error log says,
>
> Can't call method "do: on an undefined value. . .
>
> But the EXACT SAME code works on another script I'm running. I don't see any
> reason for it to suddenly have a problem. What does this error message MEAN?
>
> Co
The only reason why that might happen (assuming it is working somewhere else),
the object isn't return. So connect() constructor couldn't return the object.
To read the error message from DBI, you'll have to read $DBI::errstr:
my $dbh = DBI->connect(dsn, login, password) or die $DBI::errstr;
The error log says,
Can't call method "do: on an undefined value. . .
But the EXACT SAME code works on another script I'm running. I don't see any
reason for it to suddenly have a problem. What does this error message MEAN?
Code Snippet--
# Form was okay; get image type and cont