Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Confession of a Perl Hacker

by Beatnik (Parson)
on Jan 22, 2001 at 19:15 UTC ( #53499=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # get a 5-byte string, skip 3, grab 2 8-byte strings, then the rest
    ($leading, $s1, $s2, $trailing) = unpack("A5 x3 A8 A8 A*",$data);
    
  2. or download this
    $string = "My uncle John is Jamaica";
    $binary=unpack("B*",$string);
    
  3. or download this
    $string = "My uncle John is Jamaica";
    $hexadecimal=unpack("H*",$string);
    $string=pack("H*",$hexadecimal);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2022-08-15 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?