in reply to Re: Reading from multi line file -> CGI.pm
in thread Reading from multi line file -> CGI.pm

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.
  • Comment on Re: Re: Reading from multi line file -> CGI.pm

Replies are listed 'Best First'.
Re: Re: Re: Reading from multi line file -> CGI.pm
by rdfield (Priest) on Jan 03, 2003 at 12:13 UTC
    Granted that fruiture's post could be viewed as a bit condescending, but it did make some valid points. The most pertinent one I can immediately think of is using a '&' in front of a sub call. There is a difference between using it and not using it which you may not be aware of and fruiture pointed this out (quite correctly, IMO, given the level of Perl knowledge demonstrated in the rest of the code) and where to find the relevant documentation. A laudable post it would seem to me. As for your own post, if I can go OT for a second or two:
    • "modual" should be "module"
    • "waist of time" should be "waste of time"
    • "make software" is probably better written as "write software"
    • "I do know fair bit about Perl" is probably less true than "I know enough Perl to be dangerous"
    The Monestary is free, and the people here devote their time for free, so don't get shirty when someone takes a lot of time and trouble to go into great detail about where you've gone wrong and how to get more information on how to get out of trouble. fruiture++, FireBird34--.

    rdfield

Re: Re: Re: Reading from multi line file -> CGI.pm
by FireBird34 (Pilgrim) on Jan 02, 2003 at 23:25 UTC
    Also, there was a bit of a typo on my behalf:
    ($user eq $q->param('ueq &encrypt_pass)
    Should have been:
    ($user eq $q->param('username') && $pass eq &encrypt_pass)