Main Page | Report this Page
Computers Forum Index  »  Computer Languages (Perl - Modules)  »  How to create a patch to a CPAN module ?...
Page 1 of 1    

How to create a patch to a CPAN module ?...

Author Message
perlgenome...
Posted: Fri Jul 17, 2009 9:18 am
Guest
Dear,

I need your help about procedure to create a patch for a CPAN module.
I want to propose a new method to a module on CPAN. I have created
this method and I have added it in the script .pm on my PC and it is
work fine.
I have send an email to the author of the module, but he ask me to
send a patch.

Can you explain me what I have to do. What is patch. Have I to install
a CPAN module to create this patch ?

Thank you for your help.

perlgenome
 
Tad J McClellan...
Posted: Fri Jul 17, 2009 4:24 pm
Guest
perlgenome <genomart at (no spam) gmail.com> wrote:

Quote:
I have send an email to the author of the module, but he ask me to
send a patch.

Can you explain me what I have to do.


Run "diff" against the original and modified versions of the module.

Email diff's output to the module author.


Quote:
What is patch.


http://en.wikipedia.org/wiki/Patch_(Unix)


Quote:
Have I to install
a CPAN module to create this patch ?


No.


--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"
 
perlgenome...
Posted: Fri Jul 17, 2009 6:05 pm
Guest
On 17 juil, 14:24, Tad J McClellan <ta... at (no spam) seesig.invalid> wrote:
Quote:
perlgenome <genom... at (no spam) gmail.com> wrote:
I have send an email to the author of the module, but he ask me to
send a patch.

Can you explain me what I have to do.

Run "diff" against the original and modified versions of the module.

Email diff's output to the module author.

What is patch.

   http://en.wikipedia.org/wiki/Patch_(Unix)

Have I to install
a CPAN module to create this patch ?

No.

--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"

Thank you.

I have updated the module (new method, pod) and created a patch for
the author and new .t file.

Best Regards,

perlgenome
 
 
Page 1 of 1    
All times are GMT
The time now is Sun Nov 29, 2009 2:04 am