Hi,
have a quick look at
crush_data-node which was one of my first postings here.
It took me some 30 or 40 lines to do what
merlyn did in just one line.
But -hey- that's simply OK, because there is a way you'll probably trod along
while you sometimes use this or that language to fulfill this or that task.
As long as you can acutally solve the problems you got at hand (say without further constraints like performance or the like)
you're doing a good job as a (Perl)programmer. You'll probably get to points
when the job has to be done particularly good (e.g. better than the coder before you did ;-)
That will be one of the moments you start thinking thru things more precise and
maybe find other (better) ways to fulfill a task. That is what programming in C is for me ;-)
Anyway, in Perl I tend to refuse to think about further constraints as long as I get the job done, because
at least 95% of the perljobs I do are straight forward and don't care whether they take
5 seconds or 5 minutes...
Regards
Stefan K
$dom = "skamphausen.de"; ## May The Open Source Be With You!
$Mail = "mail@$dom; $Url = "http://www.$dom";
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.