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

Re: Comparing packed variables

by Anonymous Monk
on Mar 18, 2021 at 15:42 UTC ( #11129910=note: print w/replies, xml ) Need Help??


in reply to Comparing packed variables

Unless you are avoiding "unpack" for demonstrable performance reasons, an argument for using it might be "clarity" and "future-proofing." This will first make it clear to the reader how the binary data is formatted, then make it clear how the elements that have been unpacked from it are being compared. And the code would be easier to read and harder to (accidentally ...) break.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2021-05-07 10:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (90 votes). Check out past polls.

    Notices?