Perl: CPAN - Module modifying and adding functionality
===

I find a module, that a want to change. 

My problem have some features like this: 

1) I want to **add functionality and flexibility** to this module.

2) Now this module solves tasks, but web-service, for what it was written, change API 

3) And also, i want to use code of this module.

4) It is **not my** module

5) Fix some bugs 

How i should be in this situation?

a) Inheritating from this module and add functionality and load to CPAN?

b) Ask author about my modifications (and reload module)?

c) Anything else? 

Thanks for advise!




