i crate a client and server socket program using IO::Socket::INET module.Also i use the use File::Slurp 'write_file' module to write the incoming/outgoing message from the socket.
But using this way i have to create different file for incoming/outgoing.Also it will store the last message only.But i want to append all the incoming and outing message in a single file.Plz suggest where i lack something