in reply to Re: What makes File::Find's interface so commonly hated
in thread What makes File::Find's interface so commonly hated
sub callback { my ($found) = @_; print $found->filename, "\n"; return 0 if $found->pathname =~ $end_condition; return 1 if $found->pathname =~ $skip_condition; process($found); return 1; }
Constants would improve readability.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: What makes File::Find's interface so commonly hated
by revdiablo (Prior) on Jul 16, 2006 at 21:32 UTC |