Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Hash Depriciated

by thezip (Vicar)
on Dec 04, 2013 at 22:10 UTC ( [id://1065668]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    for my $hex ($out =~ /(\S{2})/g) {  # split the strings into chunks of
    + two chars
      printf "hex => %s, binary => %08B\n", $hex, hex($hex);
    }
    
  2. or download this
    __OUTPUT__
    hex => 12, binary => 00010010
    ...
    hex => DE, binary => 11011110
    hex => 8F, binary => 10001111
    hex => 45, binary => 01000101
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-03-29 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found