Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

How does backing up several bytes work with unpack? (a bug?) (was: Re^2: Can unpack add zero bytes before converting?)

by vr (Curate)
on Sep 13, 2021 at 20:40 UTC ( [id://11136722]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    say for unpack '(VX2)*', "\1\1\1\1";    # why 2 items?
    say for unpack '(VX3)*', "\1\1\1\1";
    
    'X' outside of string in unpack         # how's that?
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 16:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found