in reply to Re: find function
in thread find function

As I prefer functional style programming over procedural, I never really liked File::Find's "global vars interface"

That's kind of funny. File::Find has one of the most functional interfaces of any core module I can think of. I mean, its 'find' subroutine's first argument is a function. Granted, it does use funky globals instead of @_ to pass arguments to that function, but I think that's an orthogonal to its functional-ness.

Replies are listed 'Best First'.
Re^3: find function
by pKai (Priest) on Dec 06, 2005 at 16:40 UTC
    wanted (like find) itself can never be "functional", since its return value ist either discarded or nonexistent, relying entirely on side-effects for their "function" ;-)

    For a clarification what program language designer nick-name "functional" the wikipedia article on Functional_programming is a good start.