Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
No such thing as a small change
 
PerlMonks  

Re^3: problem spellchecker

by Anonymous Monk
on Dec 01, 2012 at 13:05 UTC ( #1006599=note: print w/ replies, xml ) Need Help??


in reply to Re^2: problem spellchecker
in thread problem spellchecker

LoL however.. I got it in this way. I think the problem was the first foreach loop..

else { $line2 =~ s/$word/$correct[$user]/; $word = $error; @words = grep { $_ ne $error } @words; }

I made a substitution in line, then I copied $word in another scalar, $error, and then I created again the @words array without $error !


Comment on Re^3: problem spellchecker
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006599]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2014-04-18 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (466 votes), past polls