I.e. it's always s///r there.
I'm not sure if I'm still up to date, but the internal text format in JS is UTF 16 while it's kind of UTF 8 in Perl. This requires 2 or 4 bytes /character in JS. So more memory needed but faster to split.°
5 % 2.2 is 1 in Perl but ~0.6 in JS. Perl accepts only the integer part of the arguments. It's documented in perlop but still surprising.
Please note that 50%22 is 6 in both languages.
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
°) Well IFF the utf8 flag is enabled in Perl that is.
<code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>