msbalaji has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks, I have a doubt about print statement as,
#!/usr/bin/perl use warnings; use strict; print 25_000_000, " ", -4, "\n"; expected output 25_000_000 -4 but getting 25000000 -4
What's happening?
Thanks in advance,
Balaji M.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Print Statement
by izut (Chaplain) on Feb 17, 2006 at 11:41 UTC | |
|
Re: Print Statement
by ikegami (Patriarch) on Feb 17, 2006 at 15:58 UTC | |
by Anonymous Monk on Feb 21, 2011 at 10:57 UTC | |
by ikegami (Patriarch) on Feb 21, 2011 at 20:17 UTC | |
|
Re: Print Statement
by Fletch (Bishop) on Feb 17, 2006 at 13:57 UTC | |
by chromatic (Archbishop) on Feb 17, 2006 at 19:40 UTC | |
by Fletch (Bishop) on Feb 17, 2006 at 20:03 UTC |