Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Hex dump

by merlyn (Sage)
on Sep 11, 2001 at 02:01 UTC ( [id://111611]=note: print w/replies, xml ) Need Help??


in reply to Hex dump

I really dislike the "void map" there, for things like:
map {$_ = sprintf('%2.2x',$_)} @array;
What's wrong with simply:
$_ = sprintf "%2.2x", $_ for @array;
It even comes in at fewer characters, as well as running faster!

-- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-03-30 04:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found