I think you also have to close STDIN, perhaps depending on which web server is being used.
In reply to Re^3: Need Fast LWP GET by tybalt89 in thread Need Fast LWP GET by bobinyec