in reply to Socket Server Speed
another point, that has nothing to do with speed, but would make your code a little more readable. the only part of that you can't indent is the part between the EOF's. the rest of the if statement can be indented.unless(defined($hash_of_strings{substr($_,0,4)})) { # do stuff }
|
|---|