in reply to Re: Re: Re: Re: Re: Re: making first letter of all words in array upper case
in thread making first letter of all words in array upper case

I am not trying to insult anyone. If I were going to give this script to someone who is very new to Perl or CGI (like ME!), this would help them out greatly!!

What I don't understand is, with all the responses I have got on this site, no one can help me fix it. Is it really such a hard task to make this script safe to use?! I am a "Seeker of Perl Wisdom"...

  • Comment on Re: Re: Re: Re: Re: Re: Re: making first letter of all words in array upper case

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Re: Re: making first letter of all words in array upper case
by runrig (Abbot) on Jan 07, 2003 at 03:31 UTC
    If I were going to give this script to someone who is very new to Perl or CGI (like ME!), this would help them out greatly!!

    No, you're just making one of the classic blunders of a beginning programmer (when first told that you should comment your code). Here's an excerpt from an article on anti-patterns in the latest (Feb. 2003) Dr. Dobbs journal:

    We are all familiar with the basic duh comment

    i++; //add one to i

    that is an unsung foundation of antipatternery. But, in fact, it does no more damage than clutter the layout and could even be argued to be useful in that it warns the reader that the module-writer is quite thick.

    But don't feel bad...the author goes on to reveal a good commenting blunder of her own...we've all made these mistakes at sometime or another, it's just a matter of (un)learning (from) them.

Re: Re: Re: Re: Re: Re: Re: Re: making first letter of all words in array upper case
by Juerd (Abbot) on Jan 01, 2003 at 21:26 UTC

    this would help them out greatly!!

    No, it would only stop them from reading documentation. Don't give too much information.

    - Yes, I reinvent wheels.
    - Spam: Visit eurotraQ.