Fun With Perl

- - posted in Ancient Archives

Theme 1 for today: Perl problems

Version 1.3 of the Netgear FM114P router has an unwelcome feature: whenever I use the CPAN shell to download a Perl module, it crashes, every time, taking my Internet connection with it. Downgrading to the 1.1 firmware fixes this, thankfully. Netgear are working on a fix. It’s a really great bit of kit otherwise.

Perl 5.8 has broken a number of my apps, including Fingerbob, and also broken Perl Cookbook example code:

while (accept (CLIENT, SERVER)) { # do something here with the client connection }

This used to loop, but now it doesn’t. It’s all because of the new threading system in Perl 5.8. It’s not hard to fix but it was tricky to hunt down - I didn’t expect Cookbook code to fail and couldn’t find this issue in the Perl changelog. New, much improved version of Fingerbob due soon.