in reply to WWW::Curl help

Does anyone understand what callback functions do?

It is sometimes called inversion of control, meaning that you provide some functions that are called back by others in case a certain event occurs, e.g. data available, timeout, exception, mouse-button pressed, and the like.