Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Trying to Understand Callback(s)

by GrandFather (Saint)
on Nov 23, 2017 at 23:22 UTC ( [id://1204176] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
       
       print $callback->(), "\n";
    }
    
  2. or download this
    Hello world 1
    Hello world 2
    ...
    30
    40
    50