Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Best way to deal with a bug in a CORE Module

by pemungkah (Priest)
on Dec 03, 2013 at 02:34 UTC ( #1065356=note: print w/replies, xml ) Need Help??


in reply to Best way to deal with a bug in a CORE Module

It depends on how badly you need it. If you can patch it yourself, do that and submit the patch to the author. I'm assuming you have some build or install mechanism you use that installs known versions of your CPAN modules; just make your fixed version the one that gets installed. If you can get along without it, note in your docs that you didn't use it because it's buggy, so the next person along doesn't try to use it. (Mentioning the link to the open bug would be a nice thing to do, in case the bug gets closed.)

Fixing the bug(s) and sending a pull request to the author would be a mitzvah (and a nice way to get into the committers list).

  • Comment on Re: Best way to deal with a bug in a CORE Module

Replies are listed 'Best First'.
Re^2: Best way to deal with a bug in a CORE Module
by DrHyde (Prior) on Dec 03, 2013 at 10:48 UTC
    If you decide to apply a patch locally, I recommend using CPAN.pm's distroprefs to apply it. Unless, of course, you're being sensible and convert your dependencies into rpm/deb/whatever.
Re^2: Best way to deal with a bug in a CORE Module
by boftx (Deacon) on Dec 03, 2013 at 02:38 UTC

    • there is a link to the open bug report in my OP,
    • the open bug report (from five years ago) includes a patch.
    • there have been no releases of AppConfig since that bug report was made.

    It helps to remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.
      Given it's in core, definitely look into submitting it to p5p; perhaps you might offer to adopt the module as well, if it's important to you. The perlhack section on patching Perl will be a helpful reference. I suggest also watching mjd's Mailing List Judo talk for some very useful hints on managing your p5p experience to your advantage.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1065356]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2023-03-20 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?