On Sun, 2008-10-05 at 17:33 -0400, Mr. Shawn H. Corey wrote:
> sub combos {
>   my %data = @_;
>   my @keys = sort keys %data;
> 
>   return _combos( [EMAIL PROTECTED], %data );
> }
> 

First correction:

sub combos {
  my %data = @_;
  my @keys = keys %data;

  return _combos( [EMAIL PROTECTED], %data );
}

There is no need to sort the keys.  I put it in so when I was debugging
it, I could keep track of what it was doing.

As I said, it ain't pretty.


-- 
Just my 0.00000002 million dollars worth,
  Shawn

Linux is obsolete.
-- Andrew Tanenbaum


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to