1. Shlomi Fish
  2. perl-begin

Commits

shl...@13c2ddb8-3aa7-4284-800b-8db07c650eef  committed 0fae5e7

Add the page about exercises and challenges.

  • Participants
  • Parent commits e39d25c
  • Branches default

Comments (0)

Files changed (4)

File lib/MyNavData.pm

View file
  • Ignore whitespace
             'title' => "Lists of Frequently Asked Questions with Answers",
         },
         {
+            'url' => "exercises/",
+            'text' => "Exercises and Challenges",
+            'title' => "Links to Exercises and Challenges for Practice",
+        },
+        {
             'separator' => 1,
             'skip' => 1,
         },

File src/books/index.html.wml

View file
  • Ignore whitespace
 
 <h2 id="beginners">Books for Beginners</h2>
 
-<h3><a href="http://www.oreilly.com/catalog/lperl3/">Learning Perl</a></h3>
+<h3 id="learning-perl"><a
+href="http://www.oreilly.com/catalog/lperl3/">Learning Perl</a></h3>
 
 <book_info 
     authors="Randal L. Schwartz, Tom Phoenix and brian d foy" 

File src/exercises/index.html.wml

View file
  • Ignore whitespace
+#include '../template.wml'
+
+<latemp_subject "Links to Perl Exercises and Challenges" />
+
+<h2 id="intro">Introduction</h2>
+
+<p>
+In order to learn Perl well (or any other language), one eventually needs
+to write actual code with it. This page contains links to programming exercises
+and challenges that can be solved using Perl.
+</p>
+
+<h2 id="the_list">The List</h2>
+
+<h3 id="learning-perl"><a href="$(ROOT)/books/#learning-perl">Learning 
+Perl</a></h3>
+
+<p>
+The book "Learning Perl" by Randal Schwartz et al contains many exercises
+for beginning Perl programmers.
+</p>
+
+<h3 id="beginning-perl"><a href="$(ROOT)/books/#beginning-perl">Beginning
+Perl</a></h3>
+
+<p>
+The book "Beginning Perl" by Simon Cozens and later on James Lee also contains
+some exercises. The first edition of the book is available online.
+</p>
+
+<h3 id="project-euler"><a href="http://projecteuler.net/">Project Euler</a></h3>
+
+<p>
+From the page:
+"Project Euler is a series of challenging mathematical/computer programming
+problems that will require more than just mathematical insights to solve".
+One can learn a lot from solving these challenges. In case you're having a
+difficulty, then you can find solutions to some of these problems here:
+</p>
+
+<ol>
+
+<li>
+<p>
+<a href="http://bitbucket.org/shlomif/project-euler">Shlomi Fish's
+Solutions to Project Euler</a> - mostly in Perl. 
+</p>
+</li>
+
+<li>
+<p>
+<a href="http://www.haskell.org/haskellwiki/Euler_problems">Solutions
+to the Euler Problems in the Haskell programming language</a> - on the Haskell
+Wiki.
+</p>
+</li>
+
+<li>
+<p>
+A web search for a "euler" and a particular question number may also provide
+some insights.
+</p>
+</li>
+
+</ol>
+
+<p>
+But remember to always try to solve it on your own first.
+</p>

File src/resources/index.html.wml

View file
  • Ignore whitespace
 Collections of short, in-depth articles.
 </dd>
 
+<dt id="exercises">
+<a href="$(ROOT)/exercises">Exercises and Challenges</a>
+</dt>
+<dd>
+Collections of exercises and challenges to be solved by writing programs.
+Learn how to program by programming.
+</dd>
+
 </dl>
 
 <h2 id="get_help">How to Get Help?</h2>