in reply to i dont like the way my code looks but work
In addition to the other suggestions you've already received, you can eliminate the final loop. Currently, you're making a list of matches, then printing the list at the end of your program. If you print each match as you find it, you'll no longer need the @matches array or the final loop.
...roboticus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: i dont like the way my code looks but work
by convenientstore (Pilgrim) on Jan 25, 2008 at 15:18 UTC | |
by moritz (Cardinal) on Jan 27, 2008 at 19:03 UTC |