Friday, April 14, 2006

 

Debugging Your Pumpkings

Perl.com update
--------------------------------------
The Email for www.perl.com Subscribers

===================================================================
FREE Cross Training For Web Developers

FREE training webcasts, software, and how to's from Dr. Dobb's, O'Reilly
Media, and Microsoft. Choose from more than 40 webcasts, and see if you're
eligible to receive a FREE copy of Visual Studio Standard (NFR).

Complimentary copies of Visual Studio Standard (NFR) are limited, so act
today! http://www.oreilly.com/go/learn2asp_perl

===================================================================

Greetings, Perl fans. You're reading the biweekly Perl newsletter, a skim
through the big subject of Perl as especially seen on the O'Reilly Network
and Perl.com. Here's what happened recently.

* Perl News in the Wild

TPF has announced the opening of nominations for the 2006 White Camel
awards for community participation in Perl:

<http://use.perl.org/article.pl?sid=06/04/01/025241>

Parrot pumpking Leo Toetsch released version 0.4.3, "Cold Conure:"

<http://use.perl.org/article.pl?sid=06/04/03/0446237>

YAPC::Europe announced a call for submissions. Here's your chance to
speak in Birmingham, U.K. this summer:

<http://use.perl.org/article.pl?sid=06/04/11/1932229>

brian d foy noted the closing of The Perl Journal. (Note that brian
publishes The Perl Review, so don't panic!):

<http://use.perl.org/article.pl?sid=06/04/13/1942216>

O'Reilly Media announced the Perl track schedule for OSCON 2006, coming in
late July in Portland, Oregon:

<http://conferences.oreillynet.com/cs/os2006/print/e_trak/311>

Perl 6 pumpking Patrick Michaud checked in the first version of the Perl 6
compiler running on Parrot and using the Parrot compiler tools. He hasn't
announced it as of the time of this writing, so you're getting a scoop.
Note that subsequent check-ins have started to merge the tests from Pugs:

<http://www.nntp.perl.org/group/perl.cvs.parrot/12934>

Perlcast published an interview with Bob Walsh about running very small
software companies:

<http://perlcast.com/2006/04/11/interview-with-bob-walsh/>

* Perl on ORN

Managing legacy code often requires you to be a detective as well as a
programmer. The more tools you have available to find and analyze
information, the better. One such tool for Perl is the debugger; though
shrouded in mystery and disinformation and emitting an aura of False
Laziness, if you know how to use it you can often track down just what you
need very quickly. Daniel Allen shows how the debugger can make your
coding much easier:

<http://www.perl.com/pub/a/2006/04/06/debugger.html>

Your editor started a 30-post series (yeah, he's crazy) that documents his
work refactoring a legacy Perl system. Which system? Just the one that
runs Perl Monks....

<http://www.oreillynet.com/onlamp/blog/2006/04/refactoring_everything_day_1.html>

Nicholas Clark is one of the underpraised heroes of Perl. Not only has he
been the maintperl pumpking for several excellent stable releases of Perl
5.8.x, he was also the Ponie pumpking working to port Perl 5 to Parrot,
and now he is the recipient of a TPF grant to improve Perl 5.8.x and Perl
5.9.x in many diverse and amazing ways. Yet who gives him the respect he
deserves? Perl.com--here's a short interview that explains why:

<http://www.oreillynet.com/onlamp/blog/2006/04/people_of_perl_nicholas_clark.html>

Another hacker full of good ideas is Eric Wilhelm. He has a vision of
creating a public Subversion repository for the entire CPAN. You can
help:

<http://www.oreillynet.com/onlamp/blog/2006/04/subversion_for_the_cpan.html>

There are more module reviews and interviews coming--and be sure to catch
the rest of the Refactoring Everything series. Your editor discovered one
amazingly useful technique for test code around day seven.

Amazingly useful indeed,
- c
chromatic@oreilly.com
Editor, Perl.com, et cetera

===================================================================
BUY 2 BOOKS DIRECT, GET 1 FREE

Take advantage of O'Reilly's "Buy 2 Books, Get 1 Free" offer by cutting
and pasting code "OPC10" into our shopping cart. Any orders over $29.95
also qualify for free shipping in the US.

http://www.oreilly.com/store/?CMP=NLC-0Z7E11150382&ATT=perl1

===================================================================

*** Featured Articles ***

Unraveling Code with the Debugger
Reading other people's code can be difficult, especially if you have no
idea what happens when and where. Understanding code flow is vital to
maintenance and bug fixes, but littering code with print and debugging
statements is tedious and prone to error. There's another way: use the
debugger! Daniel Allen demonstrates how to pinpoint a problem with Perl's
debugger.

<http://www.perl.com/pub/a/2006/04/06/debugger.html>

***

Using Ajax from Perl
The recently rediscovered Ajax technique makes the client side of web
programming much more useful and pleasant. However, it also means revising
your existing web applications to take advantage of this new power.
Dominic Mitchell shows how to use CGI::Ajax to give your Perl applications
access to this new power.

<http://www.perl.com/pub/a/2006/03/02/ajax_and_perl.html>

***

Advanced Subroutine Techniques
Subroutines seem like a basic building block of code. They're simple and
easy to understand and use, right? That's true--but there are a few
advanced techniques to make your code more maintainable and robust. Rob
Kinyon goes beyond making sense of subroutines to making subroutines work
for you.

<http://www.perl.com/pub/a/2006/02/23/advanced_subroutines.html>

***

Managing Rich Data Structures
Perl is so good at handling plain text files that it's seductively easy to
use them when you need something better. Yet sometimes using a
full-fledged database is just Too Much Work. If only Dave Baker had
written an article on using complex, persistent data structures with
MLDBM.

<http://www.perl.com/pub/a/2006/02/16/mldbm.html>

***

Debugging and Profiling mod_perl Applications
How do you use the debugger on a mod_perl application? How do you profile
an application embedded in a web server, with multiple child processes?
Don't worry. Where there's Perl, there's a way. Frank Wiles demonstrates
how to debug and profile mod_perl applications.

<http://www.perl.com/pub/a/2006/02/09/debug_mod_perl.html>

***

Test-Driving X11 GUIs
Is GUI testing as difficult as it seems? Maybe not, with the right testing
libraries. George Nistorica shows what X11::GUITest can and can't do to
make your Unix and Unix-like applications more robust.

<http://www.perl.com/pub/a/2006/02/02/x11_gui_testing.html>

***

===================================================================
Take Your IT Career to the Next Level with O'Reilly Learning

"I can now go into the Unix program on the Apache server and customize the
Metalib program so it works for our library. Wow! It feels great."
--Ingrid Mifflin

Since 2004, Ingrid Mifflin, a Systems Librarian from WSU Libraries, has
enrolled in 11 O'Reilly Learning courses, has completed 9 of them, and has
already earned 2 University of Illinois Certificates! We're proud of
Ingrid--she ramped up her career, and so can you.

Learn more: <http://oreillylearning.com/promotion/>

===================================================================
------------------------------------------------------------------
Interested in sponsoring the Perl.com newsletter? Please email us at
advertising@oreilly.com for rate and availability information.
Thank you!
------------------------------------------------------------------
To change your newsletter subscription options, please visit
http://www.oreillynet.com/cs/nl/home

For assistance, email help@oreillynet.com

O'Reilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
(707) 827-7000
------------------------------------------------------------------


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?