in reply to How to send attributes of an object to create an object of another class?

A shorter version of Anonymous Monk's reply :-)

Try

my $SockObj = Communication->new($self->{serveraddr}, $self->{port});
  • Comment on Re: How to send attributes of an object to create an object of another class?
  • Download Code