If the license is GPL, then you can do what you describe, assume you follow the terms of the license. The licensing terms is what matters here, not the fact you're using CPAN as a vehicle to distribute modified software. | [reply] |
Is it sensible to fork a new module? Can your changes be incorported into the existing module using options or a new function interface? There is too much duplication on CPAN, and if your change is minor you should ask yourself if a different module is justified.
Of course it could be that a new module is the only sensible way forward if your changes have a profound effect, or if the original author is not happy with them. | [reply] |
I think your changes sound more like an "enhancement" to the original module. You should submit your changes to the current maintainer, who should then incorporate them into the next release of the module.
| [reply] |
As scorpio17 mentioned, if your modifications are enhancements, then the best thing to do is submit a patch to the author and get them incorporated in the next release. If you have the time to do so, and are planning on submitting a lot of patches, as to become a co-maintainer of the module. There are a number of free code collaboration sites that can help with this (http://github.com is a popular one).
In regards to legality, if you made your changes during work hours, you may want to check with your boss that your company doesn't have some sort intellectual property rule that says anything you write during business hours is the property of the company. In which case the changes belong to them, not you (technically) and aren't yours to distribute.
Fortunately, if you're using open source software at your company, odds are your employers are savvy to the economics of the open source world and would recognize the benefits of allowing you to contribute your changes back to the community. If not, try to educate them :)
If in the event that you're not able to get your changes into cpan; consider setting up a company wide minicpan and adding your modules to it.
| [reply] |
I agree. Maybe there is no need for this module if the changes are minor. | [reply] |
I checked this website: http://www.gnu.org/licenses/quick-guide-gplv3.html
And under the headings of the Foundations of the GPL, it wrote:
- the freedom to use the software for any purpose,
- the freedom to change the software to suit your needs,
- the freedom to share the software with your friends and neighbors, and
- the freedom to share the changes you make.
Is the license terms? I apologize for the basic question. | [reply] |
Version 2 is not version 3
| [reply] |
The problem is that I modified only 1 subroutine from the original module. In my module, there are probably 5-6 methods and this subroutine is part of the new one. | [reply] |
Subclass it then.
--
In Bob We Trust, All Others Bring Data.
| [reply] |