Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://975501]
help
Chatterbox?
[erix]: record separator
[Cosmic37]: Permissions are interesting earthlings. Did nature determine who gives permission and who asks permission. Who was the first to get permission? Are you not related to them as one big earthling family?
[karlgoethebier]: Cojones! We need cojones!
[karlgoethebier]: Ouch! Permissions! We need permissions!
[BarApp]: I can not use modules. I gain temporary access and still can not use modules.
[Cosmic37]: ta erix - this szabo geezer is pretty cool methinks and he writes about undef but I cannot see instructions for redefining the record separator after having undefined it

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-06-29 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (672 votes). Check out past polls.