Re: Dirty Arrays and how to clean them up!

perlmodule_at_gmail.com
Date: 03/12/05

  • Next message: rajkumar_at_hotmail.com: "Re: Quiz"
    Date: 12 Mar 2005 13:49:25 -0800
    
    

    Here is my attempt:

    my %temp = ();
    print grep !$temp{$_}++, ((1..10) x 5);

    ...which is essentially the same concept as you described, but just a
    different approach.


  • Next message: rajkumar_at_hotmail.com: "Re: Quiz"