if (exists $tried{$guess}) { print "\tSkipping $guess - already attempted\n\n"; } #### my @temp_chars; for (1 .. $length) { push @temp_chars, (shuffle(@chars))[0]; } #### my $guess = "@temp_chars";