[EMAIL PROTECTED] wrote:
I want to read a serial comm port receiving hexa data.
Then i would like to print these data in ascii, i mean if i receive
0x41, i would print "41" not the character "A".
Check out the FAQ entry
perldoc -q numeric
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc
[EMAIL PROTECTED] wrote:
> Hi all,
> I want to read a serial comm port receiving hexa data.
> Then i would like to print these data in ascii, i mean if i receive 0x41, i
> would print "41" not the character "A".
>
> I try with the pack function but it doesn't work (surely because i don't
> unde
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, April 11, 2008 10:28 AM
To: beginners@perl.org
Subject: Writing hexa in ascii
Hi all,
I want to read a serial comm port receiving hexa data.
Then i would like to print these data in ascii, i mean if i rec