Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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."

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2016-10-24 07:54 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (303 votes). Check out past polls.