Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

pack() returns an unusable string

by syphilis (Archbishop)
on May 26, 2021 at 13:39 UTC ( [id://11133064]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # test.pl
    use warnings;
    ...
    $s = "'$p'";
    
    system $^X, '-wle', "print unpack('H*', $s);";
    
  2. or download this
    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: perlquestion [id://11133064]
Approved by philipbailey
Front-paged by stevieb
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found