On Sunday, Nov 23, 2003, at 14:11 US/Pacific, Kevin Old wrote: [..]
I've seen the word "callback" used in a few Changelogs for a few modules
saying that a few callbacks were fixed in the module. I can't find any
documentation on what a callback is and am wondering if anyone can point
me to some docs, or explain what it is?
[..]

the simplest way to think of it would
be in the perldoc File::Find - cf.

the idea is that one piece of code is
built to solve a 'general problem' given
a set of arguments, one of which is the
reference to the piece of code that will
be used to DO something, eg:

             use File::Find;
         find(\&wanted, '/foo', '/bar');
         sub wanted { ... }

the 'wanted' there is the 'callback'.




ciao drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to