dump the real string
From: toylet (toylet_at_mail.hongkong.com)
Date: 02/25/04
- Next message: Hunter Johnson: "Re: finding common words"
- Previous message: Tassilo v. Parseval: "Re: doubt in loops"
- Next in thread: Andrew McGregor: "Re: dump the real string"
- Reply: Andrew McGregor: "Re: dump the real string"
- Maybe reply: toylet: "Re: dump the real string"
- Reply: Jürgen Exner: "Re: dump the real string"
- Reply: gnari: "Re: dump the real string"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 25 Feb 2004 21:03:40 +0800
my $line = <>;
I input "a" and press enter.
Now $line should contain 2 bytes: 'a' and end-of-line character.
How could I print the content of $line (both bytes) in hex format?
-- .~. Might, Courage, Vision. In Linux We Trust. / v \ http://www.linux-sxs.org /( _ )\ Linux 2.4.22-xfs ^ ^ 8:58pm up 2:41 1 user 0.99 0.98
- Next message: Hunter Johnson: "Re: finding common words"
- Previous message: Tassilo v. Parseval: "Re: doubt in loops"
- Next in thread: Andrew McGregor: "Re: dump the real string"
- Reply: Andrew McGregor: "Re: dump the real string"
- Maybe reply: toylet: "Re: dump the real string"
- Reply: Jürgen Exner: "Re: dump the real string"
- Reply: gnari: "Re: dump the real string"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|