Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Reading and unpacking on one line

by BillKSmith (Monsignor)
on Nov 05, 2020 at 16:15 UTC ( [id://11123427]=note: print w/replies, xml ) Need Help??


in reply to Reading and unpacking on one line

In the first case. you read 16 characters into $_ and then unpack the contents of $_. In the second case, you do the same read, but you unpack the return value of read (the number of characters actually read, 16).
Bill

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-23 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found