http://qs1969.pair.com?node_id=166485


in reply to Re: lame site security cgi
in thread html/file security cgi [revisited]

I have used a large variety of resources to learn perl. This includes books, websites, code snooping etc. I have no formal training, I am taking the same approach I first took with html and with mIRC script. Trial and error. My first program I used strict..

I had no idea how I would shame myself by not using it and other such things here. Quite honestly I was pleased to get this little program to work, I didn't concentrate on perfect code. Well that is one of the reasons I posted it here. So far I have been given very broad examples of what I have done wrong and I have started looking up these references on perldoc.org.

Does anyone have any more accute examples for this particular piece of code? Where/how does it need to be improved. I am definately here to learn more about perl, I can see this should not have been posted as a Craft as evidently that is where the guru Monks post their perfectly written code. I apologise for this.

~uber

Replies are listed 'Best First'.
Re: how I learned perl
by rinceWind (Monsignor) on May 14, 2002 at 17:04 UTC
    UberDragon13, Welcome to the monastery.

    Here are a few tips for getting the best out of this site. Firstly, you may have found that the code you posted has earned a number of -- points. Don't take this to heart as it's just a (fairly meaningless) number after all.

    There are two tools it would be a good idea how to find out how to use:

    • The Chatterbox (CB). Here, you can ask questions about pretty much anything - they don't even have to be Perl related (but I guess you are already familiar with IRC). The /msg facility is useful for posting a message to an individual off list. This is much better than posting flame, which will earn you considerably more -- votes and lose you more respect than duff code.

      Remember, anything you post as replies is public. Anything sent via /msg is essentially a private conversation.

    • Open up your personal scratchpad. Click on your name, and "Edit your user information". Here is something which is _yours_ and public, but you will not be judged and downvoted on it. It is a good place to post code for review - the worst you will get is sarcasm on the CB.

    Also, have a good look around the site, read the FAQs, do some searches on topics of interest. In particular, check out the links other monks have given you in reply - this will take you to some quit informative articles both inside and outside the site.

    You will find that this is one of, if not the best Perl forum on the Internet.

    rinceWind

Re: how I learned perl
by davorg (Chancellor) on May 14, 2002 at 18:15 UTC
    I have used a large variety of resources to learn perl. This includes books, websites, code snooping etc.

    The problem is that like just about everything else, 90% of Perl books and Perl tutorial websites are rubbish. One problem that I'm very interested in is how we in the Perl community steer potential Perl converts to all the good information before they find all of the rubbish.

    You've obviously found Perlmonks, which is a good start. I'd also recommend that you look at perl.com and use.perl; on a regular basis.

    As far as books go. The wisdom of the Perl community is gathered in perlfaq2. Try typing perldoc -q book at you command line.

    --
    <http://www.davee.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg