Handlers in LWP::UserAgent subclasses
[email protected] (Aaron Crane) Sat, 31 Mar 2012 12:48:46 +0100
| Newsgroups | perl.libwww |
|---|---|
| Message-ID | <CACmk_tuiBZqAAjQ6-3W5-0VKCUf0Bd7j1JjwzdZWS3kXw2jFCw@mail.gmail.com> |
Is it considered acceptable for a subclass of LWP::UserAgent to invent a new phase name, and process handlers for that phase in new and/or overridden methods? If so, are there any naming recommendations that are likely to avoid conflicts with phases added in future versions of LWP::UA? And is the run_handlers method available to subclasses for these purposes (despite not being documented at the moment)? I'd be happy to submit a documentation patch with the answers to these questions, once I know them. :-) -- Aaron Crane ** http://aaroncrane.co.uk/