Main

Perl Archives

December 18, 2003

Pretty cheesy - Dec 18, 2003

Michael Peters from http://www.venzia.com/, a module CGI-App written by Jesse Elerbaum. I have used CGI-App in some projects and it provides and object oriented approach that allows me to focus on what I want my web application to do, instead of the mechanics of the web.

The name of this project, no matter how silly, is actually an apt description of the project. CheesePizza provides the metephorical foundation for a website application by providing the elements that are always present in web applications. Things like crust and sauce and cheese, to say nothing of user authentication, profile editing, database connections and my personal favorite module names, CRUD and MultiCRUD. (Who could be without modules named ... )

It looks like they are providing me with even more ability to focus on what I want my web app to do. I look forward to using this and recommend that perl developers check it out.

February 6, 2005

Short circuit logic and other performance tips - Feb 6, 2005

There is a nice article by Martin C. Brown on how to optimize perl scripts over at the IBM Developer Works site. There's a short instructive section on how to use short circuit logic in place of more computationally intensive conditional statements. If you write perl, its worth a read in case you don't already know about these tips.

February 28, 2005

Duplicating a perl installation - Feb 28, 2005

Someone recently made a comment about the difficulty in mainting duplicate perl and CPAN setups using the CPAN module. (The comment was made in a post to the CGI::Application mailing list.) I don't think this is the case, and so I set off to verify the top of my head answer, which was:

perl -MCPAN -e autobundle

I was composing my reply when Michael Peters more comprehensively answered the question by provinding a link to The CPAN Frequently Asked Questions