On Thu, Apr 26, 2001 at 02:49:41PM +0100, Gary Stainburn wrote:
> If I remove the line, the error goes away so it is definitely
> complaining about the print statement, but it looks perfectly fine to
> me.
Well there's nothing wrong with the print statement as such, it's just
that the value you are trying to print is undef, hence the warning. In
particular, $field is undef. If it was meant to be "PICKNO", then
$fieldno should be 1.
The part about concatenation is a little bit of perl's internals leaking
out. The internal representation of
print "dbfield='$dbfield' field='$field'\n";
is something like
print "dbfield='" . $dbfield . "' field='" . $field . "'\n";
The message is a bit more helpful for instances like this in newer
versions.
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net