Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^2: Looking for pointers or optimizations.

by thmsdrew (Scribe)
on Aug 21, 2012 at 14:36 UTC ( #988761=note: print w/replies, xml ) Need Help??

in reply to Re: Looking for pointers or optimizations.
in thread Looking for pointers or optimizations.

In response to you first one, I have a similar optimization but a bit less confusing to me:

my $displayed; foreach my $s (split(//, $word)) { $displayed .= exists($correct_guesses{$s}) ? "$s " : "* "; }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://988761]
[Yaerox]: I feel like i'm not seeing the forest for the trees. Can someone give me a hint how to research converting all kinds of files into ansi? If origin file is utf8 convert to ansi, is origin file is ansi then skip file.
[1nickt]: Yaerox probably best to whip up an SSCCE demonstrating the failure in what you have now and post to SoPW as a question.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2017-03-28 13:11 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (331 votes). Check out past polls.