Posts Tagged ‘perl CPAN’

Linking to CPAN

Saturday, November 27th, 2010

All through these blog pages, I’ve been linking to CPAN modules I’m talking about so that it’s easy for readers to find them.  I knew I was linking to specific versions, but couldn’t figure out how to link to the latest version of the module.  I noticed the docs for Task::Kensho do it, and am going to start doing it too.

The secret is to use links like this:  http://search.cpan.org/perldoc?Task%3A%3AKensho

The %3A are the URI encoding of a : so this goes to http://search.cpan.org/perldoc and searches for the module name automatically.  Neat.

Reinstalling Perl.

Monday, October 26th, 2009

The break in my blogging was to start a new job.  It’s kept me incredibly busy.  I’m now a “Senior Infrastructure Architect” and being paid to write and maintain complex Perl scripts.  It means lots more things in Perl to learn and see, but may limit what I can blog about, as I have to be careful of the NDA.  I’m going to try and get back to this blog, though.

I reinstalled Perl the other day.  It was no trouble; it came with my Linux distribution.

Then I had to reinstall all the missing modules.

That should be easy!  I typed ‘autobundle’ in CPAN before I upgraded, and it wrote out a Bundle file.  All should be well!  I should just have to type “perl -MCPAN -e ‘install Bundle::Snapshot_2009_09_09 and let it go do what it needs to do.

Pity it doesn’t work that well.

(more…)