Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:
Let's assume I'm in a situation where I just can't, for reasons to annoying to go into here, install CGI.pm.
If I want to write a CGI script, what's the best way to grab the query string and put it into a hash?
Ovid's perl course has a great section on this: why use CGI.pm?. And I agree with everything he says.
But if I really can't, what should I do? Can I grab a section out of CGI.pm itself to use as a sub?
($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What's the right way to do CGI wrong?
by polettix (Vicar) on Apr 23, 2007 at 00:29 UTC | |
|
Re: What's the right way to do CGI wrong?
by chromatic (Archbishop) on Apr 23, 2007 at 04:25 UTC | |
|
Re: What's the right way to do CGI wrong?
by Jenda (Abbot) on Apr 23, 2007 at 10:48 UTC | |
|
Re: What's the right way to do CGI wrong?
by derby (Abbot) on Apr 23, 2007 at 12:27 UTC |