in reply to File::Find incompatible with OO perl?
Or if you want the anonymous sub call to disappear from the calling stackfind(sub { $obj->found }, $directory);
However, if you're planning to go the OO route then File::Find::Rule and File::Finder would be betters suited than File::Find.find(sub { unshift @_,$obj; goto &{$obj->can('found')} }, $directory);
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: File::Find incompatible with OO perl?
by demerphq (Chancellor) on Feb 09, 2004 at 18:28 UTC | |
|
Re: Re: File::Find incompatible with OO perl?
by vaevictus (Pilgrim) on Feb 09, 2004 at 17:09 UTC | |
by broquaint (Abbot) on Feb 09, 2004 at 17:26 UTC |