Help for this page

Select Code to Download


  1. or download this
    $idx = $arr[0];
    for(0..$#arr) {
            $idx = $_ if( ($arr[$idx]<0) || (($arr[$_] >= 0) && ($arr[$_] 
    +< $arr[$idx])) )
    }
    
  2. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "use Data::Dump qw(pp);
    ...
    Use of uninitialized value in numeric lt (<) at -e line 1.
    Use of uninitialized value in numeric lt (<) at -e line 1.
    (-99 0) -> lnn index of -99