NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Looks Nice (Score:3, Insightful)
Hmm ... seems like an awful lot of duplicated code for checking the file status. Five subs are identical, so I deleted them.
Re:Looks Nice (Score:1)
Re:Looks Nice (Score:2)
Yeah, this is a technique I use a lot, though really I should have done this:
It has the advantage that it fits Randal's formatting and it matches Schwern's fix of using closures. Plus, I think it's a bit cleaner.
Reply to This
Parent