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

Re: What are pack/unpack used for?

by ikegami (Pope)
on Jun 11, 2012 at 06:10 UTC ( #975501=note: print w/ replies, xml ) Need Help??


in reply to What are pack/unpack used for?

Perl scalars cannot be stored or communicated; they are confined to a Perl interpreter instance. The values they contain must be serialised, which is to say converted to a stream of bytes, in order to do so. This is pack's primary purpose. unpack is used to do the inverse, namely deserialising, which is to say converting sequences of bytes into scalars.


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-08-29 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls