> > Give me one example when you'd need to hack CGI.pm to handle input 
> > that you can't do without hacking it.
> 
> Are you asking me?  I said, "if it comes to the point that..."
> 
> However, my example would be, as someone previously 
> mentioned, doing something 
> out-of-spec (assuming of course, there is not a way to solve 
> the issue 
> in-spec).   *IF* (please notice the IF) your choice comes down to a 
> convoluted solution with CGI.pm, or just snagging GET and 
  ^^^^^^^^^^ 
Do you even know what this means?

How is 

use CGI qw(param);
my $name = param('name');

More convoluted than a forty line monstrosity that won't be 
reusable and probably won't cover all conceivable issues (like file uploading for 
instance)

You could say CGI is convoluted in the sense that it is intricate and complex, 
but it has to be for what it does is intricate and complex. However if you 
simply need to handle input just import param().

But your method is more convoluted in the negative sense that it is inticate 
and complex in a bulky hard to deal with manner.

Do what you want but I think everyone here is tryign to save you a massive headache.

*And* if you do it homebrew style then to reuse it, which you probably will, 
you still have to make it portable somehow. And if you need help with why 
something isn't working you'll do this :

[examle]
you> My code doesn't work:

you> &ParseMonkey;
you> for(keys %POST) { print; }

you> It doesn't print anythign! 

What the heck is ParseMonkey ?
Are you using strict; ??
Try this and see if it works:
 use CGI qw(param);
 for(param()) { print; }

[/example]



> POST on your own, 
> my position is to do it cleanly, and on your own.
                                  ^^^^^^^
On your own is not cleanly, again how is 
use CGI qw(param);
...
Messier than tons of lines of code that will likely have problems.
And besides file uploads, how do plan on handling menus or checkboxes that have 
multiple values?
 You say: BUT I SAID **IF** I have a situation that needs special ....." Yes but what 
**IF**
You ever need to expand it, it will much harder to do later.

Do what you want but doing it home brew is a pretty bad idea.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to