Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    );
    
    print $_->(5) for @h;
    
  2. or download this
    use strict;
    use warnings;
    ...
    for my $fmt (sort keys %h){
      print "$value in $fmt is: ", $h{$fmt}->($value) , "\n";
    }