in reply to Re^4: [OT: JavaScript] JS remainder operation ('%')
in thread [OT: JavaScript] JS remainder operation ('%')
Wouldn't it be better to s/perl/print/g here?
I agree that print is kind of "lying", and I would love to see this unexpected behavior at least clearly documented in the perldocs.
IMHO your statement is misleading as it is, because it's limited to output by print and doesn't effect internal representation.
Since print only affects the output one might consider adding something like print_truely feature, for future versions.
Best with accompanying flags in printf for compatibility.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: [OT: JavaScript] JS remainder operation ('%')
by syphilis (Archbishop) on Jan 18, 2024 at 14:23 UTC | |
by LanX (Saint) on Jan 18, 2024 at 15:04 UTC |