Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: CGI.pm vs Apache::Request

by Ctrl-z (Friar)
on Jun 23, 2005 at 13:02 UTC ( #469374=note: print w/replies, xml ) Need Help??


in reply to CGI.pm vs Apache::Request

Im new to Apache::Request myself, so take this with a pinch of salt...

Have you looked at Apache::Table? It provides similar functionality:

my $q = Apache::Request->new(shift); my $table = $q->parms; $table->clear;

You could create an Apache::Request subclass with CGI.pm's full API, eg

package CGIRequest; use base Apache::Request; sub new { my $class = shift; return bless Apache::Request->new(@_), $class; } sub delete_all { my $self = shift; $self->parms()->clear(); } # ...etc 1;

A quick test of the above code appears to be ok...

Hope that helps




time was, I could move my arms like a bird and...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://469374]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2020-05-27 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (162 votes). Check out past polls.

    Notices?