PDF Processing with Perl
Adobe's PDF is a well-established format for transferring pixel-perfect documents. It's not nearly as malleable as plain text, but several CPAN modules make creating, manipulating, and reusing PDFs much easier. Detlef Groth demonstrates how to use PDF::Reuse.
Read more here
posted at: 12:10am on 22-Sep-2007 path: /Programming/Perl | permalink | edit (requires password)
Making Perl Reusable with Modules
Perl programs are easy to write, especially if they solve simple problems. If you find yourself re-using the same programs (or worse, the same code), it's time to bundle your code into pieces easier to reuse. It's time to turn programs into modules. Andy Sylvester walks through the three steps of making a simple, standalone Perl program into a robust, tested, distributable, and reusable piece of code.
Read the entire article here
posted at: 3:31pm on 11-Aug-2007 path: /Programming/Perl | permalink | edit (requires password)
Option and Configuration Processing Made Easy
Many useful programs take arguments and configuration options. It's easy to add one or two, but as your program grows, the difficulty of allowing configuration concisely and intelligently also grows. Jon Allen demonstrates how to unify argument and configuration processing in a way that lets you write good code and your users get on with their work.
Read the entire article here
posted at: 12:06am on 14-Jul-2007 path: /Programming/Perl | permalink | edit (requires password)
Better Code Through Destruction
Perl 5's reference counting scheme almost always keeps memory usage predictable...except for one corner case. The Resource Acquisition Is Initialization strategy helps avoid memory leaks--and can improve your use of exceptions, alarms, other resources, and even transactional systems. Igor Gariev demonstrates.
Read the entire article here
posted at: 12:02am on 08-Jun-2007 path: /Programming/Perl | permalink | edit (requires password)
|