Ok first, thank you for replying with your input.
Second, I am not some dumb 5 year old that can't write a simple "Hello, world!" program, so DON'T treat me like that. I know what a subroutine is, otherwise I wouldn't be using one, let alone about a dozen in total that I have. I said I was new to the CGI.pm modual, not Perl itself. Granted I am not some all knowing guru, but I don't care right now -- I am learning and having fun. I do not make software for any companies, but for myself for simple distribution, so don't give me any of that "you suck, don't know a thing, need to learn how to use the 'print' command, blah blah" garbage.
"I don't mean to offend you, usually i'd not have answered at all, but: You haven't thought before you wrote that code, apart from the fact that it shows lack of basic knowledge about Perl 5."
Do me a favour next time, DON'T answer to my question. I'd rather have someone help me get moving then someone come in and start flaming me for asking a simple question. And I havn't thought before posting?? That has got to be the lamest thing I have ever read on this site! Why the heck would I be posting, if not for help?? It appears that YOU are the one who did not THINK before posting your reply. And as I stated, I am no Perl guru, however I do know fair bit about Perl.
So do me a favour, next time you decide to post, how's about just stopping and thinking as to if your post will be HELPFUL or just a waist of time.
As to the rest of you who posted, thanks for the help.
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.