Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-03-2004, 12:06 AM   #1
Registered: Mar 2003
Location: Malaysia
Posts: 63

Rep: Reputation: 15
Question what are the Hexadecimal function and ASCII function in Perl

Hello Guys,
I am looking for 2 functiones in Perl but unable to get them:

1- What is the function that is used to change the Hexadecimal representation to a decimal one.

2- What is the function that is used to convert the decimal number to its ASCII representation?

I will be thankful for the help

Old 06-03-2004, 01:44 AM   #2
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 42
hex() and chr()

see perldoc -f hex and perldoc -f chr


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
perl pack function fvgestel Programming 2 10-27-2005 11:35 AM
function in shell to convert hexadecimal into ascii suchi_s Linux - Software 1 04-01-2005 02:07 PM
Perl and seek() function ivanatora Programming 3 01-28-2005 03:57 AM
A main can be changed by a function local without passing anything to the function? ananthbv Programming 10 05-04-2004 01:31 PM
Perl exec function in linux (and system-function) nazula Programming 1 04-19-2004 12:21 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration