Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 ( #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? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2022-09-27 01:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (118 votes). Check out past polls.

    Notices?