Danny Burkland wrote on 04/08/2010 01:28 PM: > <http://pastebin.com/83FN3wUR>
Be sure to add: use strict; use warnings; right at the top of all your code. It's shorthand for "I want this code to actually work." Be sure to check the return values of your function and method calls. The typical Perl idiom looks like: my $value = $thing->dosomething(@args) or die "dosomthing failed: " . $thing->error; That assumes that dosomething returns false on error and has an error() method but you get the idea. -- Peter Karman . http://peknet.com/ . pe...@peknet.com