in reply to Re: Re: Event based programming: Callbacks or "Interfaces"?
in thread Event based programming: Callbacks or "Interfaces"?

Fair enough... which is why I qualified my statement as "unless there is a really good reason not to".

But just to throw in one parting jibe: untrusted code is another reason to avoid callbacks. :-)

Also, for the record: I don't hate File::Find, I just wish that the writers had made a different interface for it. One of the reasons why I was probably so negative about File::Find is that I'm still stuck in 5.005, and the File::Find that came with 5.005 was really hardly any better than rolling your own. It's gotten better since then, though (in terms of performance, features, and cross-platform portability... but not in terms of code sanity or interface design).

------------ :Wq Not an editor command: Wq