Category Archives: perl programming

When RFCs attack: HTTP::Tiny is getting stricter

The problem with standards are that there are too many standards. When RFC-2616 – defining HTTP/1.1 – was updated, the IETF spread the details across six RFCs: RFC-7230 to RFC-7235. Most of the changes appear to be server side, but in some areas, particularly around header formatting, the rules are getting tighter. I was lucky […]

Posted in perl programming | Tagged , , | Comments closed

Please test Path-Tiny-0.081-TRIAL

The latest development releases of Path::Tiny include this whopper in the Changes file: !!! INCOMPATIBLE CHANGES !!! The relative() method no longer uses File::Spec's buggy rel2abs method. The new Path::Tiny algorithm should be comparable and passes File::Spec rel2abs test cases, except that it correctly accounts for symlinks. For common use, you are not likely to […]

Posted in perl programming | Tagged , , | Comments closed

My Github dashboard of neglect

Bitrot. The curse of being a prolific publisher is a long list of once-cherished, now-neglected modules. Earlier this week, I got a depressing Github notification. The author of a pull request who has politely pestered me for a while to review his PR, added this comment: Ouch! Sadly, after taking time to review the PR, […]

Posted in perl programming | Tagged , , , | Comments closed

A parallel MongoDB client with Perl and fork

Concurrency is hard, and that's just as true in Perl as it is in most languages. While Perl has threads, they aren't lightweight, so they aren't an obvious answer to parallel processing the way they are elsewhere. In Perl, doing concurrent work generally means (a) a non-blocking/asynchronous framework or (b) forking sub-processes as workers. There […]

Also posted in mongodb | Tagged , , , | Comments closed

Perl 5 and Perl 6 are mortal enemies

Did you grow up with one or more siblings? Are you a parent with two or more kids? Then you know that siblings often fight. A lot. Perl 6 is described as Perl 5's little sister That metaphor fits. They share parentage. The languages are similar in philosophy. One is more mature, the other less […]

Also posted in p5p, perl6 | Tagged , , , , | Comments closed