The stupid question is the question not asked | |
PerlMonks |
Re: Reading and unpacking on one lineby BillKSmith (Monsignor) |
on Nov 05, 2020 at 16:15 UTC ( [id://11123427]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|