Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: pack/unpack binary file

by johngg (Abbot)
on Dec 01, 2012 at 00:11 UTC ( #1006539=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ hexdump -C spw1006361.bin
    00000000  00 00 01 00 02 00 03 00  04 00 05 00 06 00 07 00  |.........
    +.......|
    ...
    00000030  18 00 19 00 1a 00 1b 00  1c 00 1d 00 1e 00 1f 00  |.........
    +.......|
    00000040
    $
    
  2. or download this
    use strict;
    use warnings;
    ...
            return;
        }
    }
    
  3. or download this
    ]$ ./spw1006361
    Record 7 originally: 7
    Record 7 now       : 21
    $
    
  4. or download this
    ]$ hexdump -C spw1006361.bin
    00000000  00 00 01 00 02 00 03 00  04 00 05 00 06 00 15 00  |.........
    +.......|
    ...
    00000030  18 00 19 00 1a 00 1b 00  1c 00 1d 00 1e 00 1f 00  |.........
    +.......|
    00000040
    $
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2015-07-04 23:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls