Solved

perl (converting ascii -> ?

Posted on 2004-09-10
7
174 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
Comment Utility
Try reading:

http://0url.com/o0

It will help you.

-Ram
0
 
LVL 84

Accepted Solution

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

Expert Comment

by:ozo
Comment Utility
What was wrong with my answer?
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

728 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now