Perl Hacks: Just another Perl hacker’s blog

  • New CPAN Releases

    I haven’t been particularly prolific in releasing new versions of my CPAN modules recently. But over the last couple of days I finally got my act together and release new versions of three modules. Array::Compare Number::Fraction Perlanet In all three cases, I’ve fixed pretty obscure bugs, added minor functionality or fixed the documenation. There’s nothing…

  • What is Wrong With this Picture?

    I’ve just found a number of subroutines defined this way in the code that I’m working on. sub do_something () { my $parameter = shift; … } I discovered the problem because I started getting errors about “too many parameters”. I knew what the problem was (the empty prototype) but it took a couple of…

  • CPAN Web Feeds

    I’m still thinking about adding stuff to this blog. I’d like to add some web feeds to the sidebar. In particular, I’d like a feed of my CPAN uploads. I don’t expect it to be a particularly busy feed (although having such blatant evidence of my laziness might galvanise me into being a bit more…

  • Testing Syntax Highlighting

    Right. I think I might have got this cracked now. Here’s some Perl code. #!/usr/bin/perl use strict; use warnings; print “Hello World\n”; That’s pretty cool, isn’t it. I wonder what it’ll look like in the web feed. I’ll try to feed my fixes back to the author of the plugin.

  • Syntax Highlighting

    One of the nice things about moving away from use.perl to your own site is that you can install whatever toys you want. I’ll eventually get round to posting code on this blog. And when I do it would be nice if it had some nice syntax highlighting. I could, of course, write my own…