Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    print "(map{\$_=\$hash{\$_};if(\$_>\$max){\$max=\$_}}keys %hash)[2] re
    +turns: '",
          (map{$_=$hash{$_};if($_>$max){$max=$_}} keys %hash)[2],
          "'\n\n";
    
  2. or download this
    defined(mytest()) is defined.
    mytest() is false.
    ...
    defined((map{$_=$hash{$_};if($_>50){$max=$_}}keys %hash)[2]) is define
    +d.
    (map{$_=$hash{$_};if($_>$max){$max=$_}}keys %hash)[2] is false.
    (map{$_=$hash{$_};if($_>$max){$max=$_}}keys %hash)[2] returns: ''