in reply to Fair schedule allocation?
For example:
You can create the @names and @array from the given data.$hash = { Ben = 5, scott => 4, jim => 1 }; @names = qw( Ben Scott Jim) @array = [ 0,0,0,0,0,1,1,1,1,2]; $name = $names[$array[$_]];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Fair schedule allocation?
by oko1 (Deacon) on Jan 05, 2010 at 02:46 UTC |