Please dont respond if you want to tell me about formatting, or if you want to tell me this is a continuation post or if you dont have anything constructive to input. Unless you want to tell me im a genius.
It's comments like that which cause me to heap scorn on your posts. If you were one of my students I'd probably end up failing you for the semester. I won't tell you about formatting (this time) but I will point out several flaws in your programming.
- Failure to use the pragma "strict." This probably would have saved you some pain
- Lack of error checking (see your "open" calls) to ensure what you want to have happen happens
Those two issues alone would have me give your programming assignment a failing grade if you were one of my students.
I have to be honest with you: when I see posts like the one I am critiquing now and others like this one from someone who has been around this Monastery for less than a week and is flame baiting I consider ignoring anything else you post.
I've been on this site since 2001. Experience has taught me that here in PM as well as in life a bit of humility goes a very long way if you want help from others learning any skill and especially Perl. Tone down your attitude and you'll find this is a great place to hang out and a go to place to learn about Perl. My expectations of my students can apply here:
- Do you own work
- Write proper code with embedded documentation
- If you come to me for help with a programming issue:
- Explain what you are trying to accomplish or what you expect to happen
- Show me the code. There should be just enough for it to be self contained but don't overwhelm me with your entire source.
- Provide me with an error code. Copy/paste if you can.
- Be professional/polite. I've been in the field since 1981 and I have personal experience that taught me that bad attitude gets you nowhere.
The other thing that irritates me are node titles that smack of the author being a smart ass. "Magic fixer ability", really? Did you get that from a Pokemon episode?
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
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.