http://www.perlmonks.org?node_id=1034993


in reply to Passing multiple arguments to CallBack routine.

I got my own answer.

Replies are listed 'Best First'.
Re^2: Passing multiple arguments to CallBack routine.
by johngg (Canon) on May 23, 2013 at 19:06 UTC

    Perhaps you could share it with us so that other monks who might have the same query and see your post can find a solution :-)

    Cheers,

    JohnGG

      This is what I am using now.
      if ($myDepth < ($maxDepth +1 ) ) { my $tx=$ua->get($url); get_callback(\$tx, $myDepth+1); }