in reply to Komodo 4.0 Bug ? Unlikely but....
The bug is in the code, not the tool :)
$pi = 3,141592654;
I think you mean:
$pi = 3.141592654;
You make the same error on the next line when you use 12,5 instead of 12.5.
Perl (like all other programming languages that I've used) uses a decimal point to denote the start of the fractional portion of a number. This sometimes confuses programmers who come from cultures that use a comma for the same thing.
If you get an error message from Perl that you don't understand, then you can add use diagnostics to your program and Perl will give you a longer explanation of the error.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Komodo 4.0 Bug ? Unlikely but....
by Htorne (Initiate) on Jan 23, 2007 at 11:10 UTC | |
by shmem (Chancellor) on Jan 23, 2007 at 12:45 UTC | |
by anirudh_sml (Novice) on Jan 23, 2007 at 11:45 UTC |