Sorry, didn't mean to get cranky at you specifically. Perl's a huge language, with docs that are less than specific in spots, so lots of folks have an "experiment and find out" mentality that ultimately results in code that breaks.

Just as a for example, if the hashing algorithm made it so that keys came out sorted by the third character, for some bizarre reason, someone would figure that out and use it in production code, which'd break if the hash function changes at some point in the future. (Perl's hashing function has already changed at least once, and it has broken some people's code)

As one of the folks who actually implements perl, and sometimes changes the implementation, what I really hate is the potential that a change to undocumented behaviour can break user code. It's not something we like doing, and we try not to, but there's always that potential, and you're more likely to find bizarre undocumented edge cases just poking around. Hence the grumbly warning--while you may find interesting behaviour while exploring, unless it's backed by documentation you should assume that it may change in a future (or past) release.


In reply to Re: Re: Re: Re: LVALUE refs by Elian
in thread LVALUE refs by BrowserUk

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.