[ back to toc ]

Error message

Date: 2002/01/18 21:04

Q:
Good day Peter,
is there any way I don't see errors like this in my page because my code
is working fine but I see errors like this.
Best Regards
187.
Argument "" isn't numeric in subtraction (-) at
D:\InetPub\proxymedia\ic-pacific.com\web\cgi-bin\actualbalance.pl line 61.
Argument "" isn't numeric in subtraction (-) at
D:\InetPub\proxymedia\ic-pacific.com\web\cgi-bin\actualbalance.pl line 61.
Use of uninitialized value in concatenation (.) at
C:/new/Perl/site/lib/Win32/ODBC.pm line 187.
Use of uninitialized value in concatenation (.) at
C:/new/Perl/site/lib/Win32/ODBC.pm line 187.
Argument "" isn't numeric in subtraction (-) at
D:\InetPub\proxymedia\ic-pacific.com\web\cgi-bin\actualbalance.pl line 61.
Argument "" isn't numeric in subtraction (-) at
A:
Your firls line of code is most probably is

#! /usr/bin/perl -w

the option -w tells the interpreter to write out these warning.

It may happen that your code contains

use strict;

Comment that out or write

no strict;

regards,
Peter

[ back to toc ]