Perl.com -> www.perl.com/
Using Perl in PostgreSQL Perl's DBI module makes it easy to use a database. That's not the only wa y to interact with a database, though. If your PostgreSQL database doesn 't do exactly what you want, you can write server-side extensions--in Pe rl. Andrew Dunstan shows how to enable PL/Perl and how to write triggers with it.
Making Sense of Subroutines Subroutines are the building blocks of programs. Yet too many programmers use them ineffectively, whether not making enough of them, naming them poorly, combining too many concepts into one, or any of a dozen other pr oblems. Used properly, they can make your programs shorter, faster, and more maintainable. Rob Kinyon shows the benefits and advanced uses that come from revisiting the basics of subroutines in Perl.
Data Munging for Non-Programming Biologists Scientists often have plenty of data to munge. Non-programmer scientists often have to beg their coders for help or get by doing it themselves. Why not provide them with short, interchangeable Perl recipes to solve small pieces of large r problems?
Making Menus with wxPerl Perl's a great general-purpose programming language. wxWidgets is a power ful GUI toolkit that manages attractive, native widgets on multiple plat forms. wxPerl is the combination, and it's easy to use, once you underst and a few idioms. Roberto Alamos shows off everything you need to know t o manage menus with wxPerl.
Distributing the Future: Beta Broadcast 003: Good and Evil This week, O'Reilly's audio magazine program Distributing the Future take s a look at good and evil. David Smith and Peter Saint-Andrew work on helping you tell who' s good and who's evil on the web; Ian Langworth and chromatic help to ma ke Perl development better for everyone by pushing testing; Danny O'Brie n shares what he's done to stop evil and encourage good;
The State of the Onion 9 In Larry Wall's ninth annual State of the Onion address, he explains Perl 6's Five Year Plan, how Perl programmers are like spies (or vice versa) , and how open source can learn from the intelligence community.
Perl Internationalization and Haskell: An Interview with Autrijus Ta ng Edd Dumbill interviews Perl and Pugs hacker Autrijus Tang about internati onalization, localization, and why he started writing an implementation of Perl 6 in Haskell. Autrijus is a featured speaker at the upcoming Eur oOSCON.
Perl Needs Better Tools Perl is a fantastic language for getting your work done. Are Perl development tools behind those of other, perhaps less-cap able languages? J Matisse Enzer argues that Perl needs better tools, an d explains what those tools should do.
Perl 6 Summary for September 25, 2005 Piers Cawley has the latest on Perl 6 development, with p6i wrangling bug s and loading libraries, p6l stringifying, numifiying, and booleanifying everything in sight, and Luke Palmer summarizing cabal meetings.
Special: Open Source Programming Certific ate Series With beginning to intermediate courses in Perl, Java, PHP, mySQL, and the Linux/Unix file system, our Open Source Programming Certi ficate Series is designed to give you a breath of real-world experience. Upon completion of the series, you'll receive a Certificate of Professi onal Development from the University of Illinois Office of Continuing Ed ucation, a plus for any resume. Enroll in all five courses and receive a $300 instant rebate.
Perl 6 Summary for September 11, 2005 Piers Cawley has the latest from the Perl 6 lists, with the Perl 6 and Pa rrot and Pirate results from Google's Summer of Code sponsorships bringi ng good news to waiting porters.
Using Qpsmtpd While email is increasingly a worker's most important communication mediu m, the onslaught of attacks from spam, viruses, and other malicious emai l content is ever increasing. By implementing a mail server in Perl, you can use your favorite language to mitigate those attacks and provide gr eater flexibility in processing incoming mail. Matt Sergeant shows how t o install, configure, and write plugins for Qpsmtpd.
Parsing iCal Data Perl's suitability as a glue language allows you to connect two applicati ons that wouldn't normally communicate by translating their data files b etween formats. R obert Pratte shows how to parse iCal data files--as used in Apple's iCal endar program--and visualize them using the open source Dot graphic pack age.
This Week in Perl 6, Through August 14, 2005 Piers Cawley summarizes the Perl 6 mailing lists with containers and meta models on the Perl 6 compiler list, metamodel and trait questions on the Perl 6 language list, and opcode changes and test modules on the Perl 6 internals list.
Automated GUI Testing Automation is the friend of testing. If you can drive your program with a script, you can test it. In the W indows world, one solution is the Win32::GuiTest module.
This Week in Perl 6, August 2-9, 2005 Matt Fowles summarizes the Perl 6 mailing lists, with p6i seeing build an d platform patches, p6l exploring meta-meta discussions, and p6c enjoyin g Pugs and PxPerl releases.
Building a 3D Engine in Perl, Part 4 The ultimate goal of all programming is to be as unproductive as possible --to write games. In part four of a series on building a 3D engine with Perl, Geoff Broadwell explains how to profile your engine, how to improv e performance and code with display lists, and how to render text.
com Readers About O'Reilly RSS and Atom Fe eds O'Reilly Media, Inc. is rolling out a new syndication mechanism that prov ides greater control over the content we publish online. Here's informat ion to help you update your existing RSS and Atom feeds to O'Reilly cont ent.
This Week in Perl 6, through August 2, 2005 Piers Cawley summarizes the Perl 6 mailing lists with PIL discussion on t he Perl 6 compiler list, type and container questions on the Perl 6 lang uage list, and a Lua compiler on the Perl 6 internals list.
Using Perl to Manage Plist Files, Part 2 Part 2 goes into much more detail on managing Plist files. You'll change some values and save the altered Plist file back to disk. Then you'll lo op over entries in a Plist file, get a dump of the NetInfo database, and print all the users in the database using Perl foreach loops. To do tha t you'll convert the Cocoa dictionaries and arrays to Perl hashes and ar rays. Finally, you'll create a Plist file from scratch, build the sample Xgrid cal job listed in the Xgrid man page by creating the structure us ing Perl hashes and arrays, and then convert them to Cocoa equivalents.
Porting Test::Builder to Perl 6 With Pugs and Parrot playing nicely and bringing Perl 6 to the rest of us , enterprising early adopters are experimenting with porting their popul ar Perl 5 modules to Perl 6 O'Reilly editor chromatic recently pushed t he limits of Pugs by porting Test::Builder to Perl 6 Here's what he lea rned about Perl 6, Pugs, and his design along the way.
This Week in Perl 6, July 20-26, 2005 Matt Fowles summarizes the Perl 6 mailing lists, with p6i discussing garb age collection schemes, p6l rethinking object attribute access and plott ing GC APIs and access, and p6c reporting problems, documenting PIL, and discussing the grammar.
Using Perl to Manage Plist Files A common question is how to manage complex Plist files with scripts. The defaults command, which is often used to manage simple values in Plist f iles, does not easily manage the nested arrays or dictionaries that are present in most Plist files. In this first article of a two-part series, James Reynolds pulls together a little Perl and Cocoa to solve this pro blem.
An Introduction to Test::MockDBI It is a sweet and fitting thing to test your code, but if you're working with non-Perl, you'll likely run into difficult situations. For example, how do you force a database connection failure to test that you can rec over? Mark Leighton Fisher has an answer: mock up the database. He expla ins the design, goals, and use of Test::MockDBI.
Ten Essential Development Practices Perl lets you be productive in everything from quick and dirty throwaway programs to big, business-critical applications. Damian Conway shares ten essential develo pment practices to make your Perl program...
|