Tag Archives: perl programming

Why I sometimes hate require

Can you spot the error in this code? Not yet? Here's the error I get compiling it: What the heck? I imported Num, so why is it not allowed? (Spot the error yet?) Here's a hint: I'm using a Mac. Does this make it clearer: Aha! I said "Mooselike" instead of "MooseLike". And the Mac [...]

Posted in perl programming | Also tagged , | 8 Responses

Crossing the Perl Rubicon

Yes, this is another blog post reacting to Matt S. Trout's Pumpkin Perl idea. (His followups are here and here.) I've considered a long, thoughtful reply about what I see as the problems Perl 5 faces, why various proposals I've heard fall short, and what I think is meaningful for the future of Perl 5. [...]

Posted in p5p, perl programming | Also tagged , , | 3 Responses

Adventures in Benchmarking, Part 1

I created Path::Tiny because I wanted a faster file path utility. But believing it would be faster isn't the same thing as demonstrating it, so I decided to create some benchmarks. That got complicated, but now I have a pretty nice benchmarking toolkit. This article describes my setup and process and shows results for object [...]

Posted in perl programming | Also tagged , | 9 Responses

Goodbye Path::Class, hello Path::Tiny

I like Path::Class, but it's clunky and slow. So I wrote Path::Tiny to scratch my itch. It's smaller (roughly half the lines of code), comes in a single file, and is generally faster. Among other things, it has lots of handy UTF-8 input and output methods. The downside is that it's less portable and less [...]

Posted in perl programming | Also tagged , | 8 Responses

My second week of Dancer, now with queues and transactional email

A couple weeks ago, I wrote about my initial efforts with Dancer, Xslate and Bootstrap. Last week, I added the ability to send password reset emails. In the process, I've learned how to write Dancer plugins. Designing a password reset system Since I've never done it before, I decided to reinvent the wheel and make [...]

Posted in perl programming | Also tagged , , | 10 Responses

© 2009-2013 David Golden All Rights Reserved