yes and no, if i use the while loop, it will be called 6 time for one call to the loop, EG:



call to while, var =:

nick1
nick1 nick2
nick1 nick2 nick3
nick1 nick2 nick3 nick4
nick1 nick2 nick3 nick4 nick5
nick1 nick2 nick3 nick4 nick5 nick6

send to server nick1 nick2 nick3 nick4 nick5 nick6


now the call to while there went throug ONCE, but had to process it 6 times, then send all the nicks to the server, now if i could make a $regex call that parse the whole line then it would like like:


var set to:

nick1 nick2 nick3 nick4 nick5 nick6

send to server nick1 nick2 nick3 nick4 nick5 nick6



see what i mean with that, it would be alot faster with one call to $regex/sub then doing a loop,

and as a commecn to your statement of adding to has table 3 time then send to server, it wouldnt really be faster, actually it would be slowed if anything,:


way it is now:

do while loop
send server



way it would be with hash table:

do while loop
add to hash
do while loop
add to hash
do while loop
add to hash

send to server