in reply to Re: Getting hash of CGI variables
in thread Getting hash of CGI variables

Thanks for the clarification and explanation. I appreciate your taking the time to explain what's going on so I can better use what I see.

You have touched on one area that gives me the most heartburn... I don't know when examples are literal or placeholders.

For instance, I now understand that "foo" and "bar" are what I think of as placeholders for the "real stuff" but I don't recognize things in some examples (like the word 'address') as something I need to replace with a real item. I'm hoping this is something that experience will teach me along the way. Then again, it may be the way I learn things... I learn by replicating what I see, and then tweaking the <bleep> out of it until I fully understand what the snippet does. Again, thanks!

Lori

Replies are listed 'Best First'.
Re: Re: Re: Getting hash of CGI variables
by revdiablo (Prior) on Jan 22, 2004 at 22:49 UTC
    I don't know when examples are literal or placeholders.

    This is slightly offtopic, but I just thought I might give some general advice. Most of the time, the things that are "placeholders" are either (1) variables or (2) strings. Exceptions should be pretty obvious, but if in doubt you can always simply play around with the example.

    One thing to be careful of, though, is when you see the same "placeholder" used more than once. If there are two instances of $foo in a snippet, you can usually change them to whatever you want, but just make sure you change them both to the same thing. Hopefully this too is obvious, but sometimes what's obvious to one is not to another. =^)