[Catalyst] [OT] how to make a change to a distro module

Matt S Trout dbix-class at trout.me.uk
Sat Jun 3 12:52:48 CEST 2006


Daniel McBrearty wrote:
> if you suspect a bug in a distro module and want to make a local mod
> of it to check your suspicions, how do you do it so that you can later
> make a patch?
> 
> at the moment I am just making a copy of the original, and editing the
> module in place ...

mkdir -p lib/Foo/Bar
cp `perldoc -l Foo::Bar::Baz` lib/Foo/Bar

...

diff -u `perldoc -l Foo::Bar::Baz` lib/Foo/Bar/Baz.pm



More information about the Catalyst mailing list