in reply to
Pack hex string and send to socket
You should remove spaces from the $hexcommand before running
pack
on it:
$hexcommand =~ s/ //g;
[download]
Printing to socket should be ok, but consult the protocol documentation on when to print.
Comment on
Re: Pack hex string and send to socket
Download
Code
In Section
Seekers of Perl Wisdom