Help for this page

Select Code to Download


  1. or download this
         $i    = 3;
         $func = sub { cos ($_[0]) };
    
         print "Das ist ",&$func($i),"\n";
    
  2. or download this
         $i    = 3;
         $func = "cos";
    
         print "Das ist ",&{$func}($i),"\n";