Why don't you give your class a constructor that clones an HTTP::Response.
my $response = My::HTTP::Response->new_from_lwp( $ua->request(...) );
In reply to Re: How to override HTTP::UserAgent::request to return a subclassed HTTP::Response
by ikegami
in thread How to override HTTP::UserAgent::request to return a subclassed HTTP::Response
by mje
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |