I think this is a laudable goal, for there is much that can be confusing to someone with no background or a different background.
If you're assuming a Win32 audience, I think it's important you:
Highlight the documentation sources most Perl programmers take for granted: man, info, perldoc, the FAQ's, etc.
Note the assumptions most Unix folk take for granted, such as the extensive supporting utilities. Perl was originally invented as a glue language, so demonstrate ways to glues various bits together in the Windows arena.
Spend time on the advantages of regular expressions, as well as providing examples of good ones in practice. How do I verify that the user entered a number, a currency value, a date value, etc?
Compare and contrast arrays and hashes pretty carefully, again with working examples and techniques. Show and discuss variations.
Introduce the main CPAN modules and provide examples of how to obtain and install modules the easy ways and the harder ways, so that those behind firewalls will have the skills needed to get their work done.
Spend time discussing the icky bits that confuse many Windows-based newbies, such as the cryptic symbols, map, tie, and so on.
And so on.
To make this work, I would come up with a small number of real-world applications/uses and then walk through the development of each. I've found this to be a particularly effective way to develop courseware, especially if you develop things that everyone needs or can adapt to make work in their organization. Examples include a contact manager, a message-taking system, an employee location board, and so on.
It's tough to design a good courseware, but it is possible. Remember, you need to ensure that your readers/students understand the facts you've presented in the material and have the abilitiy to assemble those facts into the solutions to their own problems.
Finally, remember that you not only have to teach non-programmers how to write code, you also have to teach them how to solve programming problems.
--f
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|