12 Dec 2003

advent on 2003-12-11T18:04:09

Comments for Perl Advent Calendar Entry 12th Dec 2003. Comments posted below may be displayed on perladvent.org.


Typo

eric.t.f.bat on 2003-12-12T00:08:43

Pardon my nitpicking (long-time reader, first-time poster and all that...) but there's a bug in today's calendar:

    package Flintstone::Fred;
    use base qw(Flintstone Fred);

Should be

    package Flintstone::Fred;
    use base qw(Flintstone Person);

if the comments following it are correct.

Love your work. Keep it up!

Re:Typo

eric.t.f.bat on 2003-12-12T00:11:49

Incidentally... I thought you might like to know that I was so taken with an earlier entry (about Template::Extract) that when I discovered it's not available for Windows and ActiveState Perl, I installed Linux (on a VMWare virtual machine) just so I could use it...

Template::Extract on Windows

2shortplanks on 2003-12-12T17:07:11

Template::Extract is a pure Perl module. This means that you should be able to install it by the normal:
perl Makefile.PL
nmake
nmake test
nmake install
As long as you have the prerequisits installed (which is the Template Toolkit, which the ppms for are here)

It's a shame that Template::Extract doesn't have a Build.PL created for it, as then you could download the Module::Build ppm from activestate and use that instead of nmake. I shall email Autrijus about it.

Re:Typo

2shortplanks on 2003-12-12T16:54:36

Indeed, that was a major braino.

Fixed now (well actually, fixed at 11amGMT).