Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: What are pack/unpack used for?

by Utilitarian (Vicar)
on Jun 09, 2012 at 15:05 UTC ( #975308=note: print w/ replies, xml ) Need Help??


in reply to What are pack/unpack used for?

Wow, they are used for so many things, to get a binary representation of a number, to parse binary data out of a file format, to parse network packets... the list is pretty much endless.

Could I suggest you buy the Perl Cookbook and check them out in the index... or search for them on this site, to see a range of their uses in converting between data formats.

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."


Comment on Re: What are pack/unpack used for?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2015-07-08 01:04 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 (93 votes), past polls