2008/6/27, Rolf Schaufelberger <[EMAIL PROTECTED]>: > > Am Donnerstag, 26. Juni 2008 16:36:49 schrieb titetluc titetluc: > > > > > sub set_user { > > > > my ($self, $r) = @_; > > > > Shouldn't that be > > sub set_user :method { > my ($self, $r) = @_; > > When you use $r as second argument ?
I am not a mod_perl specialist, but declaring the method without the :method attribute works correctly. According to http://perl.apache.org/docs/2.0/user/coding/coding.html#Method_Handlers, the :method attribute is not required -- > > Rolf Schaufelberger >