I think you're a bit too focused on the "Real World Problem" part. If I can automate something with Perl on my home machine, I'll do that. An application to gather some statistics on my mail or something else: a nice little project. Are those important in the grand scheme of the universe? Of course not, but it helps me in a number of ways: saving time by letting the computer do what it does best, generating potentially useful information and honing my Perl skills.

On the subject of Summarizing an array of IP's you write:

"You could probably write a script/module which would handle the general case of this problem which would create a cute little organized data structure for input like this."
You know what? You probably could. And you would learn an awful lot about IP addressing in the process. Most of the time, you learn more about the problem domain of the problem you're solving than about programming. Remember, a programming language is a tool to get something done. Most of the time, it is not an end in itself (altough Perl can easily be ;-).
And while such an excercise might be wholesome, it would still be just that, an excercise. Never would anyone have a need for this type of functionality, and it certainly wouldn't make the world a better place. And if it was something that was interesting or useful, someone would have undoubtedly put it on CPAN already.
I work for an ISP and I think that this type of functionality could very well be useful. Most of the time, you aren't programming to make the world a better place, but just to get the job done.

Don't let the fact that someone already has done something similar be an obstacle for you to learning something new. As a novice, you're bound to do things that other people have already done. That's part of the learning process. And the fact that something similar is on CPAN doesn't necessarily mean that it's very good. Maybe you can come up with a much better way.

Arjen


In reply to Re: Learning by Doing by Aragorn
in thread Learning by Doing by jweed

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.