in reply to Re^2: LWP::UserAgent single session
in thread LWP::UserAgent single session

That must be because the time used for setting up and tearing down the TCP socket connection is significant relative to the time spent in transmitting the data, but I fail to see what security implications it has.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James