OC-PM: Follow up..

Wilson, Douglas dgwilson at sonomasystems.net
Wed Oct 8 16:24:49 CDT 2003




> Thereafter, Doug Wilson introduced us all to File::Find::Rule
> (
http://search.cpan.org/~rclamp/File-Find-Rule-0.24/lib/File/Find/Rule.pm
)
> and gave a brief overview on how File::Find::Rule may be a much better
> alternative in some circumstances over File::Find.

And just to save typing, especially on those 'or' or 'any' rules,
I usually stick this at the top:

use constant FFR => 'File::Find::Rule';

so that those rules become:
FFR->or(
  FFR->blah_blah...,
  FFR->blah_blah...,
)-> etc...

-Doug



More information about the Oc-pm mailing list