-----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 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 understand this function) Have you any idea ?? Thanks Gilles ---------------------------- I don't understand your question. Data read from a serial port is always binary. How you or the application decide to interpret or display it is irrelevant. Bob McConnell -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/