On 28/02/2008, David Golden <[EMAIL PROTECTED]> wrote: > On Thu, Feb 14, 2008 at 3:54 AM, Michael G Schwern <[EMAIL PROTECTED]> wrote: > Sorry -- just catching up on this thread. > > > > > { > > > $dir->local_chdir(); > > > ...do your stuff... > > > } > > > > > > but that's probably out of my ken. > > > Subroutine prototype? > > $dir->do_within { > > }; > > Also -- feel free to rip off whatever is needed from File::pushd.
Afair prototypes aren't respected on method calls. So that would have to be $dir->do_within sub { }; Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"