Octavian Rasnita wrote at Wed, 05 Jun 2002 14:18:42 +0200:

> ...
> Then I've seen one more error in that file:
> Argument "\n" isn't numeric in numeric eq (==) at c:/Perl/lib/perl5db.pl line 572
> 
> That line is:
>      for ($i = $line + 1; $i <= $max && $dbline[$i] == 0; ++$i) { #{ vi
> 
> Is there any bug, or what could be the problem?
> I am using Windows 2000.
> 
> If I run the script normally, the script runs without errors or warnings.
> 

Did you run the script with
use strict;
use warnings;
?
(what should be normally)

I believe (allthough I'm not sure), that debugging switches warnings on.
When $dbline[$i] contains a "\n" then the warning is definitly good.
Perl warns you, because
"cat" == "dog"
what most users didn't mean.


Cheerio,
Janek

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to