Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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?
[Corion]: If all else fails, Spreadsheet::XLSX should be "installable" by manually copying the files, provided that the prerequisites are met
[thezip]: It fails in the "formatted 2-digit numeric" tests
[thezip]: Okay Corion, that's what I wanted to hear. Thanks!
[Corion]: Oh, a test failure... Just force-install it then? --force and potentially --notest to skip the tests alltogether ?
[ambrus]: thezip: is Activestate Perl usable for your scenario instead?
[MidLifeXis]: Yeah, --notest is good, not sure I would do --force.
[thezip]: It fails 2/10 tests in that group. What are the ramifications if I force it? What should I look for for?
[thezip]: I've migrated from ActiveState to Strawberry. No going back...
[thezip]: I'll try the --notest arg first when I get back from meetings (after lunch).
[thezip]: Thanks guys for your comments! :-)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2017-03-23 17:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (290 votes). Check out past polls.