In Thoughts on script portability I touched upon some of the reasons why
you might "re-invent the wheel." Sometimes all
you have are sticks and stones and you have to be inventive.
I can think of another reason you might want to re-invent
the wheel. If you have a crusty professor like I am when
I am teaching you are darn sure going to end up
re-inventing the wheel.
When I was teaching Perl to college students I often would
pose a problem to them, for instance (right out of my
Write a script to parse an input file and create a tree
of HTML elements and their leaf nodes.
Now if I had to solve that problem in the real world
I would be looking to CPAN in the HTML::* space for
the right module. But for someone learning Perl it is
a good intellectual excercise to have to invent that
wheel and program for it.
|Peter L. Berghold -- Unix Professional|
Peter at Berghold dot Net
|| Dog trainer, dog agility exhibitor, brewer of
fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and
a good Belgian ale in your chalice.|
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||