Re: Wrapping a method of an instance
[email protected] (Tomas Doran)
| Newsgroups | perl.moose |
|---|---|
| Message-ID | <[email protected]> |
> > Is it possible to add a modifier like that? Yes, but you probably don't want to. It's almost certainly better to apply a request role. Have a look at the changes I did to C::P::UploadProgress: http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=14346 http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=14347 to work due to exactly the same issue. Cheers t0m