If you’ve been reading my blog for a while, you’ll know that I have an interest in packaging CPAN modules as RPMs for Linux distributions based on Red Hat. For a few years, I’ve been (infrequently) building spreadsheets which list the various modules that are available as RPMs from the better know repositories (and my […]
Tag: fedora
A Cautionary Tale
I can never remember exactly how Time::Piece works. But that’s ok because I have documentation.
1 2 |
$ perldoc Time::Piece No documentation found for "Time::Piece". |
Huh?
1 2 3 4 5 6 7 8 9 10 |
$perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-thread-multi ... $ corelist Time::Piece Time::Piece was first released with perl v5.9.5 $ perl -MTime::Piece -E'say $Time::Piece::VERSION' Can't locate Time/Piece.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .). BEGIN failed--compilation aborted. |
So Time::Piece has been in the Perl core since 5.9.5. I’m running Perl 5.14.2 but I don’t have Time::Piece installed. After ten minutes or so of head-scratching it came to me.
1 2 3 4 5 |
$ sudo yum install perl-core Loaded plugins: langpacks, local, presto, refresh-packagekit [ stuff snipped ] ---> Package perl-Time-Piece.x86_64 0:1.20.1-212.fc17 will be installed [ more stuff snipped] |
I’m running Fedora. The Fedora […]
Fedora and Centos CPAN RPMs
Today I’ve updated my spreadsheets of the CPAN modules that are available as RPMs from various repositories for Fedora and Centos. I see that in many cases the “official” repos are now more up to date than my own repo (which I originally set up because the official repos are sometimes out of date). This […]
More RPM Stuff
It’s been a while since I wrote anything here. if anyone is keeping score I’ve probably failed the Iron Man challenge of posting something every ten days. Don’t have much to add here either but I thought some of you might be interested in a quick tweak I made to my spreadsheet of CPAN RPMs […]
META.yml and Building RPMs
An email has flooded in. It was in response to my piece about Building RPMs from CPAN Distributions and it was from Andreas Koenig. Andreas runs PAUSE, which is the service CPAN authors use to upload stuff to CPAN, so he knows what he’s talking about when it comes to CPAN (and many other matters). […]