Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Function to produce formatted ord values of a string

by jwkrahn (Abbot)
on Apr 20, 2012 at 09:02 UTC ( [id://966137]=note: print w/replies, xml ) Need Help??


in reply to Function to produce formatted ord values of a string

my $testdata = join '', map chr, 0..255; ( my $old = $testdata ) =~ s/(.)/ sprintf '%3d', ord $1 /seg; $old =~ s/ +$//; print "$old\n";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-28 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found