- or download this
#!/usr/bin/perl
...
chomp $resp;
return $resp;
}
- or download this
#!/usr/bin/perl
use strict;
...
print $writehandle $answer . "\n";
}
}
- or download this
rasto@frodo:~/work$ ./client.pl
IN: GLOB(0x880fe78) OUT: GLOB(0x880fe88) ERR: GLOB(0x880fe28)
...
write handle is GLOB(0x880fe78)
writing galahad
rasto@frodo:~/work$