A Test::MockObject Illustrated Example
Perl’s Test::MockObject CPAN module helps you test troublesome interfaces. Learn how it works!
Perl’s Test::MockObject CPAN module helps you test troublesome interfaces. Learn how it works!
As with many Perl systems, AxKit often provides multiple ways of doing things. Developers from other programming cultures may find these choices and freedom a bit bewildering at first but this (hopefully) soon gives way to the realization that…
Notes Experimenting with a slightly different format this week (theft from NTKnow considered sensible …), I’ll also be looking at some of the things that’ve been posted on use.perl.org (and I’d really appreciate some reports on the YAPC Perl6 chats…
Editor’s note: this document is out of date and remains here for historic interest. See Synopsis 5 for the current design information. A summary of the changes in Apocalypse 5: Unchanged features Capturing: (…) Repetition quantifiers: *, +, and…
In this article we will talk about tools that we need before we can start working on the performance of our service. Essential Tools In order to improve performance, we need measurement tools. The main tool categories are benchmarking…
One of the big new features in perl 5.8 is that we now have real working threads available to us through the threads pragma. However, for us module authors who already have to support our modules on different versions…
Editor’s Note: this Apocalypse is out of date and remains here for historic reasons. See Synopsis 05 for the latest information. This is the Apocalypse on Pattern Matching, generally having to do with what we call "regular expressions", which…
Maybe you’ve heard about closures; they’re one of those aspects of Perl - like object-oriented programming - that everyone raves about and you can’t really see the big deal until you play around with them and then they just click….
In the next series of articles, we are going to talk about mod_perl performance issues. We will try to look at as many aspects of the mod_perl driven service as possible: hardware, software, Perl coding and finally the mod_perl…
Introduction In this article we will talk about the nuances of providing mod_perl services and present a few ISPs that successfully provide them. You installed mod_perl on your box at home, and you fell in love with it. So now…
Introduction This article is the third in our series talking about the essential Perl basics that you should know before starting to program for mod_perl. Variables Globally, Lexically Scoped and Fully Qualified You will hear a lot about namespaces,…
Introduction In this article, we continue to talk about the essential Perl basics that you should know before starting to program for mod_perl. Tracing Warnings Reports Sometimes it’s hard to understand what a warning is complaining about. You see…
So you’re a Perl master. You’ve got XS sorted. You know how the internals work. Hey, there’s nothing we can teach you on perl.com that you don’t already know. You think? Where Wizards Fear To Tread brings you the…
"This is a great war long-planned, and we are but one piece in it, whatever pride may say. … And now, all realms shall be put to the test." - Beregond, <<Lord of the Rings>> Introduction In CPANPLUS -…
I always feel uneasy getting review copies of books like this; review copies of books are for me to look through, tell people how good or bad they are, and then sit on the shelf looking pretty. This book, essentially,…
Introduction Before I delve into the details of mod_perl programming, it’s probably a good idea to review some important Perl basics. You will discover these invaluable when you start coding for mod_perl. I will start with pure Perl notes…
In the first article in this series, we saw how to install, configure and test AxKit, and we took a look at a simple processing pipeline. In this article, we will see how to write a simple 10-line XSP…
As you have seen from my previous articles, mod_perl enabled Apache consists of two main components: Perl modules and Apache itself. While installing Apache without root privileges is easy, one should know how to install Perl modules in a…
Editor’s note: this document is out of date and remains here for historic interest. See Synopsis 4 for the current design information. And I’d se-ell my-y so-oul for flow of con-tro-ol … over Perl - The Motels, “Total Control”…