hello all
i have a code which goes like this
code 1 send the command to the second code the second code receives the command and execute it on the machine but.. i want to send the results of the execution baack to the first code

my $from_who = recv( UDP_SOCK, $file, MAX_RECV_LEN, 0 );
if ( $from_who )
{
my ( $the_port, $the_ip ) = sockaddr_in( $from_who );
warn 'Received from ', inet_ntoa( $the_ip ), ":\n";

system($file);
the problem with system()
the $file contain the command

I want to get the out put from this function and send it again that way

send( UDP_SOCK, $var, 0, $from_who )