That this is an OS artifact can also be seen by being explicit about the numbers of all the lines at which print statements are executed (note that on my machine, STDOUT and STDERR have not (yet) gotten out of sync):
use strict; use warnings; my ($a, $b) = ("1_334", 1334); printf "line %ld: $a $b \n", __LINE__; $a += 1; $b += 1; printf "line %ld: $a $b \n", __LINE__; printf "line %ld: Unequal \n", __LINE__ if ($a != $b); printf "line %ld: $a $b \n", __LINE__;
Output:
C:\@Work\Perl\monks\dilpane>perl ubar_in_qqted_n.pl line 39: 1_334 1334 Argument "1_334" isn't numeric in addition (+) at ubar_in_qqted_n.pl l +ine 41. line 43: 2 1335 line 45: Unequal line 46: 2 1335

In reply to Re^2: _ in a number within quotes by AnomalousMonk
in thread _ in a number within quotes by dilpane

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.