I was re-reading the camel book, and I was puzzled by a sentence which says (Translated back to english from my french camel book, I hope it'll make sense) :

You can put an optional comma at the end of every list. It will make further item addition easier

@numbers = (
1,
2,
3,
);

I was wondering what does that easy mean ?

Will be item addition faster ?
Will item addition use memory more wisely ?

I've even played with timethese to see if the former was the answer but I must admit that I didn't had any result (In fact I'm almost sure that anyway I'm not testing the right way...)

So here are my questions :

What does it means ?
and
Where can I find answer to those kind of questions (except in the perl sources which are beyond my understanding at the present time (and for a long time anyway ;-) ?

I've ordered 'advanced programming'; can you Perl gurus suggest me another book or another source of information ?

In reply to Optimized array by arhuman

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.