Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: 3-byte representation (Simplified!)

by AnomalousMonk (Archbishop)
on Oct 12, 2011 at 23:22 UTC ( [id://931106]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $packed = join '', unpack '(a3x)*', pack 'l*', @sint24s;
    
  2. or download this
    >perl -wMstrict -le
    "use Test::More 'no_plan';
    ...
    ok 4999 - pass 200: len 24
    ok 5000 - pass 200: len 25
    1..5000
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-16 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found