A Refactoring Example
About a year ago, a person asked the Fun With Perl mailing list about some code they had written to do database queries. It’s important to note that this person was posting from an .it address; why will become…
About a year ago, a person asked the Fun With Perl mailing list about some code they had written to do database queries. It’s important to note that this person was posting from an .it address; why will become…
It’s quite possible to end up with digital music files that don’t have good information about what they are. Files that don’t have ID3 information can rely on paths for album information, for example, and that is lost easily. M3U…
Introduction to Searching Usually, when building an application, a lot of thought goes into how the data is entered and updated, rather than finding it again. Finding data is an afterthought, especially when developing with a small dataset. If…
Deadlines, I love the sound they make as they fly past. Those of you who receive this summary via mail may have noticed that this summary is a little late, with any luck it will make up for its…
Editor’s note: In this third and final batch of recipes excerpted from Perl Cookbook, you’ll find solutions and code examples for extracting HTML table data, templating with HTML::Mason, and making simple changes to elements or text. Sample Recipe: Extracting…
James D. Tisdall is the author of the soon-to-be-released Mastering Perl for Bioinformatics. For some time now, the use of Perl in biology has been standard practice. Perl remains the most popular language among biologists for a multitude of…
Welcome to the last Perl 6 summary of my 35th year. Next week’s summary will (in theory) be written on my 36th birthday (a year of being square, so no change there then). I’ll give you fair warning that…
Editor’s note: The new edition of Perl Cookbook has released, so this week we continue to highlight recipes-new to the second edition-for your sampling pleasure. This week’s excerpts include recipes from Chapter 14 (“Database Access”) and Chapter 18 (“Internet…
Welcome to this week’s Perl 6 summary. This week, for one week only I’m going to break with a long established summary tradition. No, that doesn’t mean I won’t be mentioning Leon Brocard this week. Nope, this week we’re going…
We use Perl for all kinds of things. Web development, data munging, system administration, even bioinformatics; most of us have used Perl for one of these situations. A few people use Perl for building end-user applications with graphical user…
Editor’s note: The new edition of Perl Cookbook is about to hit store shelves, so to trumpet its release, we offer some recipes-new to the second edition-for your sampling pleasure. This week’s excerpts include recipes from Chapter 6 (“Pattern…
Picture, if you will a sunny garden, unaffected by power cuts, floods, plagues of frog or any of the other troubles that assail us in this modern world. Picture, if you will, your summarizer, sat in this garden with…
This is the third (and final) article in a series which form one Perl programmer’s response to the book Design Patterns (also known as the Gang of Four book or simply as GoF, because four authors wrote it). As…
This is the second in a series of articles which form one Perl programmer’s response to the book, Design Patterns (also known as the Gang of Four book or simply as GoF, because four authors wrote it). As I…
"Ooh look, it’s another Perl 6 summary. Doesn’t that man ever take a holiday?" "I think he took one last month." "Is it in Esperanto this week?" "I don’t think so." "Does Leon Brocard get a mention?" "It certainly…
Editor’s note: this document is out of date and remains here for historic interest. See Synopsis 6 for the current design information. As soon as she walked through my door I knew her type: she was an argument waiting…
Introduction: What is Overloading? All object-oriented programming languages have a feature called overloading, but in most of them this term means something different from what it means in Perl. Take a look at this Java example: public Fraction(int num,…
Welcome back to an interim Perl 6 Summary, falling between two conference weeks — OSCON and YAPC::Europe. For reasons involving insanity, a EuroStar ticket going begging, and undeserved generosity, I shall be bringing my conference haul up to 3…
This is the 7th annual State of the Perl Onion speech, wherein I tell you how Perl is doing. Perl is doing fine, thank you. Now that that’s out of the way, I’d like to spend the rest of…
One of the most boring programming tasks in the world has to be pulling data out of a database and displaying it on a web site. Yet it’s also one of the most ubiquitous. Perl programmers being lazy, there…