Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

CGI.pm & GT::CGI conflict

Quote Reply
CGI.pm & GT::CGI conflict
What would you do, if you would need to use both GT::CGI and the standard CGI.pm library?

I tried, and if both GT::CGI and CGI.pm is used, then CGI.pm will not working correctly, as it doesn't get the form inputs.
This line is causing the result, that CGI.pm will not able to get/parse the form input.

GT::CGI.pm, v1.140
Code:
line 97: read(STDIN, my $data, $content_length, 0);
This is somehow causing conflict between standard CGI.pm and GT::CGI Frown

THis is the code I use to get input params:
Code:
my $q = new CGI();
print "\$q: " . Dumper(\$q) . "\n\n";
local (%in) = $q->Vars;

I also found a similar thread about GT::CGI and CGI.pm problem, but got no idea, what the problem is:
http://www.gossamer-threads.com/...i?post=109584#109584


Any idea, how to fix that compatibility problem?

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Subject Author Views Date
Thread CGI.pm & GT::CGI conflict webmaster33 3233 Feb 27, 2005, 10:29 PM
Thread Re: [webmaster33] CGI.pm & GT::CGI conflict
rocco 3125 Feb 28, 2005, 7:19 AM
Thread Re: [rocco] CGI.pm & GT::CGI conflict
webmaster33 3123 Feb 28, 2005, 8:08 AM
Thread Re: [webmaster33] CGI.pm & GT::CGI conflict
Paul_Wilson 3128 Feb 28, 2005, 8:37 AM
Post Re: [Paul_Wilson] CGI.pm & GT::CGI conflict
webmaster33 3114 Feb 28, 2005, 8:49 AM
Thread Re: [webmaster33] CGI.pm & GT::CGI conflict
rocco 3102 Mar 1, 2005, 4:45 AM
Post Re: [rocco] CGI.pm & GT::CGI conflict
webmaster33 3091 Mar 1, 2005, 5:11 AM