- or download this
sub new {
my ($class,$device,$serveraddr,$port) = @_;
...
'port' => $port
};
- or download this
my $SockObj = Communication->new( $self->{$serveraddr}, $self->{$port}
+);
- or download this
sub Communication::new {
my $class = shift;
...
$socket->autoflush();
return bless $socket, $class;
}