I've been practicing programming in Perl today, using exercises from practicepython.org...

LOL Are you a masochist?

Go to the local library and get a copy of https://www.amazon.com/Learning-Perl-Randal-L-Schwartz/dp/1449303587, or an older edition of the Learning Perl book. You can read it cover to cover, or try to use it as a reference book. When you are done with that, you can try Intermediate Perl: Beyond The Basics of Learning Perl 2nd Edition or https://www.amazon.com/Beginning-Perl-Curtis-Poe/dp/1118013840

Or, one can learn online. For example, this popped up when I Googled "perl arrays": https://perlmaven.com/perl-arrays.

Try things out. If they don't work, start a thread at PerlMonks. Weekends tend to be slow. During the week, there are more people here. There is so much experience in this community that it is unbelieveable.

You can try this area of PerlMonks: Tutorials.

Then, there is the Perl documentation. The easiest way to get to it is on the Internet. For example, http://perldoc.perl.org/perlintro.html#Perl-variable-types. However, these tend to be rather dense, rather than pedagogical.


In reply to Re: one line to check for common list values by Cow1337killr
in thread one line to check for common list values by dollar_sign

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.