T
tamiry
I know it sounds funny, but entering this line to the code,
my $num = 1/100;
causes the "compiler" to say stuff like,
syntax error at pkg.pm line 167, near ")
{"
syntax error at pkg.pm line 175, near ")
{"
Global symbol "$self" requires explicit package name at pkg.pm line
176.
....
the lines mentioned come after this line, and they are perfectly OK. If
I change it to
my $num = 1*100;
it works great. I also included
use strict;
use warnings;
at the head of the file.
any ideas? please?
(maybe the "compiler" somehow thinks that '/' starts a string quote ?)
thaks a lot
my $num = 1/100;
causes the "compiler" to say stuff like,
syntax error at pkg.pm line 167, near ")
{"
syntax error at pkg.pm line 175, near ")
{"
Global symbol "$self" requires explicit package name at pkg.pm line
176.
....
the lines mentioned come after this line, and they are perfectly OK. If
I change it to
my $num = 1*100;
it works great. I also included
use strict;
use warnings;
at the head of the file.
any ideas? please?
(maybe the "compiler" somehow thinks that '/' starts a string quote ?)
thaks a lot