On 12-03-14 05:51 AM, Dr.Ruud wrote:
On 2012-03-14 07:45, 周 文 wrote:
I am looking for a function (subroutine) to convert Hex(Ascii code) to
character.
See perldoc -f hex
and perldoc -f unpack.
He will also need chr(). hex() converts a hex string to a number. chr()
converts a number to a character. See `perldoc -f chr`.
If he uses unpack(), he will need pack() to get a character. See
`perldoc -f pack`.
--
Just my 0.00000002 million dollars worth,
Shawn
Programming is as much about organization and communication
as it is about coding.
It's Mutual Aid, not fierce competition, that's the dominate
force of evolution. Of course, anyone who has worked in
open source already knows this.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/