You've hit the nail right where it should be hit!

When explaining perl to beginners, I would not even consider explaining mro or why utf8 should or should not be used.

I'm very sorry to see so many posts in this thread about why what editor would be perfect under Windows. Who The Fuck cares! Most good Unix editors have a Windows port, and most have the same advantages over the other (or disadvantages) as they have on Linux/Unix. Programmers will use what they have, and will not go into a search for an editor when confronted with the task to write their first perl script. They will use notepad proably, and that suffices for now.

Does notepad support the typing of Unicode characters? Well that probably depends on what version of Windows they run, what their keyboard is set to (at the moment) and probable what service pack has been installed. All and all IMHO something you certainly do not want to address when telling beginners how to write a perl script.

YOU are a seasoned programmer. I know that. I have met you and talked to you, and I am aware that you know why you want to include these pragma's in every script you write. And there is nothing wrong with that. It is a well-defined decision and makes your programming life easier.

When I were to teach people perl from the start, I would include thee three basic lines from the start, and tell them that they will be explained later in the course, but that it is always a good idea to include them from the start. So, not the first thing. Certainly not.

Once they iunderstand the meaning of these pragma's - later in the course - I might hint them to easier ways to deal with them, but I would certainly not recommend them in class.


Enjoy, Have FUN! H.Merijn

In reply to Re^8: RFC: How to succeed with your Perl homework by Tux
in thread RFC: How to succeed with your Perl homework by angiehope

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.