I expect many native English speakers would get a chuckle out of "chomp". At least, I find it mildly amusing. The other day I found an experienced Java/C# programmer, who is currently learning Perl, rolling on the floor laughing at the Carp module function names: carp, croak, confess and cluck. He loved these names, finding them hilarious, perhaps because you would never see such names in more serious "politically correct" "corporate" languages like Java and C#. Good luck with the etymology of those four. :)

You may need to ask Larry (I tried googling just now without luck), but my guess is that some of the early names were chosen simply because Larry found them amusing. Remember, these names were chosen by the guy who wrote Black Perl in 1990. It was a different era back then and perhaps these amusing early names are just a reflection of those times. I doubt they would be chosen today because I've noticed that Larry has recently been outvoted (or changed his mind) on a number of "amusing" or at least "cute" names. For example, the Perl 5 porters objected to "err" and in Perl 6 land "comb" (to "comb" the words out of a string, get it?) was later changed to the less amusing and less evocative "words".


In reply to Re: Etymology of chomp? by eyepopslikeamosquito
in thread Etymology of chomp? by tankee

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.