in reply to Re: screen out an untained array from a special array
in thread screen out an untained array from a special array

Yes, the output is: 1 2 3 7 13 14 15 16 17 18
can it be showed like: '3:1' '7' '18:13'?
You know the format conversion is what the difficulty lies.
  • Comment on Re^2: screen out an untained array from a special array

Replies are listed 'Best First'.
Re^3: screen out an untained array from a special array
by toolic (Bishop) on Feb 08, 2009 at 02:16 UTC
    can it be showed like: '3:1' '7' '18:13'?
    Of course it can! This is probably where you should start trying to write the code yourself. Since you requested some hints in your OP, take the hash that other monks have shown you and loop through the sorted keys.
Re^3: screen out an untained array from a special array
by Lawliet (Curate) on Feb 08, 2009 at 02:09 UTC

    What a perfect opportunity for you to learn some more Perl!

    And you didn't even know bears could type.