Hi, >From the practical mod_perl book (focuses on mp 1.x though):
sub new {
bless {}, shift;
}
#mp1.x uses sub handler($$) {}
sub handler : method {
my ($self,$r) = @_;
$self = $self->new unless ref $self;
$self->{r} = $r;
}
When exactly is this ref used? AFAIK $_[0] will never be a reference.
kind regards,
Tim Esselens
