Tag Archives: perl

YAPC Back, see

After spending the bank holiday in Wales, I trotted off to Brum for YAPC::Europe 2006. It’s my first YAPC and a heck of an experience. 3 days of being immersed in Perl and Perl people. I took in a heck … Continue reading

Posted in Uncategorized | Tagged , | 2 Comments

Unicode Depresses Me

Perl is meant to have reasonable Unicode support. So why do I still have to write this at the top of a test? use utf8; use Test::More ‘no_plan’; { my $Test = Test::Builder->new; binmode( $Test->output, “:utf8″ ); binmode( $Test->failure_output, “:utf8″ … Continue reading

Posted in Uncategorized | Tagged , | 2 Comments

Lexical Attributes

A week or two ago, I took an idea from Aristotle about “shortcut” functions and made it into a little module: Attribute-Shortcut. Aristotle pointed out in the comments that the attributes should also work on coderefs as well as named … Continue reading

Posted in Uncategorized | Tagged | Comments Off

Constant Pain

Trelane was complaining about Image::Imlib2 the other day. Apparently, it accepts any method call without error. i.e. it’s a blackhole object. A quick inspection of the source revealed two things: An AUTOLOAD() method, to resolve unknown method calls. A constant() … Continue reading

Posted in Uncategorized | Tagged | Comments Off

XML::Genx 0.21

I’ve released a new version, which fixes a blindingly obvious error: you couldn’t pass in characters between \x80 and \xff unless they had the UTF-8 flag turned on. I don’t know how I missed that. XML::Genx 0.21

Posted in Uncategorized | Tagged , , | Comments Off

XML::Genx Plans

I was talking to Mark Fowler yesterday and XML::Genx came up. He had a couple of good points: It’s not absolutely clear in the documentation that any valid Perl string will work correctly (be it UTF-8 encoded or not). I … Continue reading

Posted in Uncategorized | Tagged , , | 2 Comments

New Releases

I’ve just done a couple of new releases of my modules: JavaScript::JSLint 0.04, which is just renaming from Lint to JSLint to more accurately reflect where it’s come from (pointed out by Matthias Miller). subatom 0.07 which switches from the … Continue reading

Posted in Uncategorized | Tagged , , , | Comments Off

JavaScript::Lint 0.02

I’ve just put together a new version of JavaScript::Lint. The main new thing is that you can now specify options to control how the lint works. You probably want to enable the undef option, for instance. I also fixed a … Continue reading

Posted in Uncategorized | Tagged , , , | Comments Off

JavaScript::Lint

After whinging gratuitously about how cruddy non-browser JavaScript is, Mark Fowler kindly pointed me in the right direction to get Perl integration working: JavaScript.pm. So now I’ve wrapped up JSLint into a small command line tool (and Perl lib), JavaScript::Lint. … Continue reading

Posted in Uncategorized | Tagged , , , | 2 Comments

mod_perl 2 not ready yet

I’ve spent nearly three days this week trying to port one of our sites to Apache 2.2 and mod_perl 2.0.2 (from Apache 1.3.33). It should be a relatively simple exercise thanks to the porting notes available: Upgrading to 2.2 from … Continue reading

Posted in Uncategorized | Tagged , , | Comments Off