Bad Head

TorgoX on 2005-11-09T06:14:20

Dear Log,

For years, I have been constantly waffling between saying "man, it's exhausting maintaining modules!" and then thinking "no! that's just Bad Head talking! It's really quite easy!". Hence my hesitation in passing along some of my needier modules.

The other night I worked on a "simple" patch to Data::JavaScript::Anon. It was exhausting! Bad Head was right! Hopefully that module (which, ironically, I'm now the new maintainer of) won't need similarly substantial tweaking anytime soon.

I'm not exhausted by programming in general; but just something about publishing complex modules with interfaces and documentation just ruins me for days, as bad as if I'd pulled an all-nighter. From now on, I keep things simple.


Nice

Leolo on 2005-11-10T04:00:34

Funny you should mention that module today, because today is the day that I needed it.

However, I found one thing very annoying with this module : it's impossible to install with perl 5.8.0 and 5.004_05.

Using CPAN.pm with 5.8.0 it wants to install a slew of dependencies, ending with CPANPLUS, which requires 5.8.1. However, make all test install by hand works.

In 5.004_05, it's worse. perl Makefile.PL fails with :
Modification of a read-only value attempted at inc/Module/Install/Metadata.pm - /usr/local/share/perl/5.8.4/Module/Install/Metadata.pm line 21.

Also, qr// is used in the code. Changing those to q// and qq// as needed, escaping where needed, and t/02_results.t passes all tests. Of course, installation has to happen by hand.

Re:Nice

TorgoX on 2005-11-10T07:15:23

Wow, thanks for telling me this. I'll throw all that stuff out.