The best phrase I can think of to describe what a callback is is this well known snippet ;-) :
Don't call us, we call you
A callback is a subroutine that isn't called directly by some code (the caller), but given as parameter to some other code/subroutine/process (the called), which eventually calls (back) that subroutine.
Look at sort() in perl. The comparision function you can give to sort is essentially a callback. You never call it yourself, sort calls it when it needs to. Callbacks are most commonly used in window managers where the callbacks react to asynchronous events like key presses and mouse clicks.
In reply to Re^3: WWW::Curl help
by jethro
in thread WWW::Curl help
by bittis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |