Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Best technique to code/decode binary data for inter-machine communication?

by BrowserUk (Pope)
on Aug 16, 2012 at 00:38 UTC ( #987666=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $to->send( pack 'n/a*', $binData );
    
    ...
    
    $from->recv( my $len, 2 );
    $from->recv( my $binData, unpack 'n', $len );
    
  2. or download this
    use Storable qw[ freeze ];;
    
    ...
      aaaw => "aaax",
      aaay => "aaaz",
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987666]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (17)
As of 2014-07-30 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (233 votes), past polls