Overriding core modules...

Tom "spot" Callaway tcallawa at redhat.com
Mon Mar 23 18:52:03 UTC 2009


On 03/23/2009 02:01 PM, Chris Weyl wrote:
> So, a couple days ago I packaged up and submitted perl-autodie, with an
> eye towards geting perl-Git-CPAN-Patch in.  autodie provides a new
> Fatal.pm that needs to override core Fatal; which is easy enough now
> that we have[1] @INC basically matching site, vendor, core in F-9+. 
> AFACIT the new Fatal is cleanly usable in any Fedora situation without
> needing code modifications on the user's part, is only installed when
> someone actively chooses to install it (or something else pulls it in as
> a prereq), doesn't conflict with any files owned by any other package,
> and doesn't need any deep magic to get it working.

Ehh, I'm not really thinking that overriding core Fatal is a good idea
here. Especially not in a Fedora package. Why doesn't it just namespace
it (e.g. autodie-Fatal.pm)?

~spot




More information about the Fedora-perl-devel-list mailing list