
Laurent_R
Veteran
/ Moderator
Feb 12, 2014, 2:00 PM
Post #2 of 3
(2900 views)
|
Re: [bobt_1234] I need help with "pack" and "unpack"
[In reply to]
|
Can't Post
|
|
Can you please: - explain what results you are really expecting for your code; - explain what your results are; - specify how the results differ from your expectation. (OK, I have run your code, I know what the results are, but I would like a synoptical comparison of what you get and what you expected, how and why.) I am very far from being an expert on the pack/unpack functions (I really don't use them often), but I have used them a few times lately and thus have some (limited) idea on how they work, and, prima facie, I am not so surprised by the results. So, please explain why you expect something else. Meanwhile, these links might help you it you don't know them already: http://perldoc.perl.org/functions/pack.html http://perldoc.perl.org/functions/unpack.html Granted, this documentation is not among the best pieces of documentation I have seen recently, but, well, you and I (and others) have to live with that. The other link gives in my view a less detailed but better overview: http://perldoc.perl.org/perlpacktut.html
|