Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Overloading CGI::redirect

by iburrell (Chaplain)
on Apr 10, 2004 at 00:10 UTC ( [id://344062]=note: print w/replies, xml ) Need Help??


in reply to Overloading CGI::redirect

The way to call the superclass method is like this:
sub redirect { my ($self, $uri) = @_; $self::SUPER->redirect($uri); exit(0); }

Replies are listed 'Best First'.
Re: Re: Overloading CGI::redirect
by Anonymous Monk on Apr 10, 2004 at 03:35 UTC
    Where'd you learn $self::SUPER->method? I don't think that works.
      I got the syntax wrong. It should be $self->SUPER::method(),

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-19 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found