[hans@shalem master]$ sudo repoquery --disablerepo=* --enablerepo=rawhide --whatprovides 'perl(Carp)'
perl-Carp-0:1.26-241.fc19.noarch
perl-4:5.16.3-265.fc20.x86_64
[hans@shalem master]$
But just having perl installed is not enough to make perl-modules which actually require Carp to work, this
results for example in build failures of packages using autoreconf, ie:
http://koji.fedoraproject.org/koji/getfile?taskID=5166523&name=build.log
+ autoreconf -i -f
Can't locate Carp.pm in @INC (@INC contains: /usr/share/autoconf /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/autoconf/Autom4te/Channels.pm line 72.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/Channels.pm line 72.
Compilation failed in require at /usr/share/autoconf/Autom4te/ChannelDefs.pm line 19.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/ChannelDefs.pm line 19.
Compilation failed in require at /usr/bin/autoreconf line 39.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 39.
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.jwM5Va (%prep)
Whereas having perl-Carp installed (by adding perl-Carl to the BuildRequires as a workaround), fixes this.
Note this may be related to the perl(Carp) Requires also vanishing from some packages, see bug 927010