![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: Trying to Understand Callback(s)by ikegami (Patriarch) |
on Nov 23, 2017 at 22:53 UTC ( [id://1204174]=note: print w/replies, xml ) | Need Help?? |
\&get_callback doesn't call get_callback; it returns a reference to it. This reference will be used by get to invoke the sub at a later time (e.g. when the request succeeds or fails). When get invokes it, it will pass parameters to it.
In Section
Seekers of Perl Wisdom
|
|