Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 surveying the Monastery: (6)
As of 2022-09-27 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (122 votes). Check out past polls.

    Notices?