Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: pack() returns an unusable string

by syphilis (Archbishop)
on May 27, 2021 at 00:32 UTC ( [id://11133099]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # test.pl
    
    ...
    Dump $s;
    
    system $^X, '-wle', "print unpack('H*', $s);";
    
  2. or download this
    C:\_32\pscrpt>perl test.pl
    SV = PV(0x4bcf98) at 0x571248
    ...
      CUR = 18
      LEN = 20
    Can't find string terminator "'" anywhere before EOF at -e line 1.
    
  3. or download this
    C:\_32\pscrpt>perl test.pl
    SV = PV(0x3ecf98) at 0x383348
    ...
      CUR = 18
      LEN = 20
    Can't find string terminator "'" anywhere before EOF at -e line 1.
    
  4. or download this
    C:\_32\pscrpt>perl test.pl
    SV = PV(0x26cf98) at 0x5311f8
    ...
      CUR = 18
      LEN = 20
    Use of uninitialized value $_ in print at -e line 1.
    
  5. or download this
    C:\_32\pscrpt>perl test.pl
    SV = PV(0x38cf98) at 0x4c51b8
    ...
      CUR = 18
      LEN = 20
    Can't find string terminator "'" anywhere before EOF at -e line 1.
    

Log In?
Username:
Password:

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

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

    No recent polls found