Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Customizing cpan modules

by shawnhcorey (Friar)
on Jul 16, 2009 at 19:06 UTC ( #780817=note: print w/replies, xml ) Need Help??


in reply to Customizing cpan modules

I don't know if there is an official way of doing this but you can keep your modifications in your own files without changing those you got from CPAN.
use FindBin qw/ $Bin /; use lib $Bin; use CPAN::Module; use MyPatches::CPAN::Module; # must comes second
If you have warnings turned on, you will be notified when a second sub replaces the first.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2023-11-28 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?