in reply to Re^6: Restore the original order of an array after sort and performing some funchtion on array values
in thread Restore the original order of an array after sort and performing some funchtion on array values
Thanks a lot. Honestly it is not an exam,
Then all you need to finish the task is a last line of:
$pvalues{ $_ } = min( $pvalues{ $_ }, 1 ) for keys %pvalues;
It'd still be a good idea to make sure you understand how the whole code works.
|
|---|