This is just a code given for the sake of presentation to PerlMonks site. The actual code is 50k lines long. When we write a big code and that too in a collaborative developement envirinment then some programmers comments some statements to help them debugging it future. Sometimes the code written in the past is saved in comments to understand the origin of the latest modification. Some times the Comments are too descriptive which includes '{' as a part of text
Whether one likes it or Not This all happens in real world.
I found this problem while debugging a big code for the said error and I posted this query to Perlmonks.
This is a good problem from coding guidelines point of view, and I have communicated this issue to all my programmers and I have also updated Coding guidelines document
I hope Monks would concentrate on technicality of the issue rather than practical usage. in real world we need to use all kinds of permitation and combination to get the work done through programming, hence knowledge of such exceptions is very important

In reply to Re^2: Commented braces in Code by sanPerl
in thread Commented braces in Code by sanPerl

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.