Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Subclassing Apache::Request?

by lestrrat (Deacon)
on Aug 11, 2004 at 04:10 UTC ( [id://381860]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      sub handler {
         my $r    = shift;
         my $my_r = My::Apache::Request->new($r);
         # do interesting things with $my_r
      }
    
  2. or download this
       # somewhere in your code...
       my $r = My::Apache::Request->instance;
    ...
          my $class = shift;
          return $class->new(r => Apache::Request->instance);
       }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-16 10:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found