Perl Weekly Challenge

Counting Weekends and Wrapping Text

I said that I probably wouldn’t have time to get involved with the Perl Weekly Challenge every week and that has, unfortunately, proven to be the case. But I had a few free minutes earlier in the we

Read More

Perl Weekly Challenge – 2019-03-25

I’m not sure that I’ll have time to do these every week, but here are my answers to this week’s two Perl Weekly Challenges. Challenge #1 Write a script to replace the character ‘e’ with 

Read More
Buggy Code

A Subtle Bug

Earlier this week, I saw this code being recommended on Stack Overflow. The code contains a nasty, but rather subtle bug. The version I saw has been fixed now, but I thought there were some interestin

Read More
  • Posted by Dave Cross
  • 9 January, 2019
  • 11 Comments
CGI.pm in the Bin

Please Don’t Use CGI.pm

Earlier this week, the Perl magazine site, perl.com, published an article about writing web applications using CGI.pm. That seemed like a bizarre choice to me, but I’ve decided to use it as an excus

Read More
  • Posted by Dave Cross
  • 18 November, 2018
  • 5 Comments
Fixing a Bug

Fixing a Bug

I fixed a bug earlier this week. Ok, actually, I introduced a bug and then spent the next few hours tracking it down and fixing it – but that doesn’t sound quite so positive, does it? I thought it

Read More
  • Posted by Dave Cross
  • 30 September, 2018
  • 0 Comments