Solved

perl (converting ascii -> ?

Posted on 2004-09-10
7
181 Views
Last Modified: 2012-05-05
Is there a way to convert ascii to say hex or decimal or one of those. From there i can convert it to anything else. any help is appreciated. And can convertion be explained ne way xcept because its on a chart or is ther a method. Thanks
0
Comment
Question by:neorion
  • 2
7 Comments
 
LVL 5

Expert Comment

by:rsriprac
ID: 12030460
Try reading:

http://0url.com/o0

It will help you.

-Ram
0
 
LVL 84

Accepted Solution

by:
ozo earned 250 total points
ID: 12031641
@dec=unpack'C*',$ascii;
0
 
LVL 84

Expert Comment

by:ozo
ID: 12359044
What was wrong with my answer?
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
My project did see openJDK that I installed. What could be the problem 7 140
groupSumClump challenge 9 115
Currency Conversion? 1 84
When i run adoquery my application freezes 26 165
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question