in reply to Shot myself in the foot with a pos
Also note that the rewrite means people don't have to remember relative precedence - always a good thing IMO.if ($packets[$i] =~ /$str/g) { ++$all{$str}; }
BTW I am curious whether you ever tried out what I offered at One possible answer. It is a rather different idea than the other solutions you were given, and I wouldn't mind knowing how it works in practice. (It could be very slow and use a lot of memory, it might be fast, I really don't know have a good sense of how it will scale.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Shot myself in the foot with a pos
by chip (Curate) on Aug 11, 2000 at 04:29 UTC | |
by tilly (Archbishop) on Aug 11, 2000 at 04:58 UTC | |
by chip (Curate) on Aug 11, 2000 at 05:47 UTC | |
by tilly (Archbishop) on Aug 11, 2000 at 19:09 UTC | |
|
(Guildenstern) RE: RE: Shot myself in the foot with a pos
by Guildenstern (Deacon) on Aug 11, 2000 at 00:30 UTC | |
by tilly (Archbishop) on Aug 11, 2000 at 00:55 UTC |