in reply to Re^2: thread count
in thread thread count
using this type of structure you can identify specific threads, then if you increment $threads{$substring} you have an array keys %threads which contains the thread id of each thread, you even have a count of how busy they are in the logfiles ;)my $substring; my $string="For those about to rock"; ($substring)=$string=~/^.+?to (\w+)/; print "So, we're going to $substring then?\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: thread count
by namishtiwari (Acolyte) on Jun 10, 2009 at 14:16 UTC | |
by Utilitarian (Vicar) on Jun 10, 2009 at 14:25 UTC |