in reply to Re: Re: File::Find incompatible with OO perl?
in thread File::Find incompatible with OO perl?
This works for me:
$ perl -MFile::Find -we'$obj=bless []; sub found { print "looking at $ +_\n" } > find(sub {$obj->found}, "pbed/fooble")' looking at . looking at a looking at b looking at c
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: File::Find incompatible with OO perl?
by vaevictus (Pilgrim) on Feb 10, 2004 at 05:38 UTC |