in reply to hex code passed from command line is interpreted literally in substitution
You will have to tell Perl that you want the number(s) passed on the command line interpreted as "hex code", whatever that means. Most likely, pack and unpack will do what you want.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: hex code passed from command line is interpreted literally in substitution
by Allasso (Monk) on Mar 05, 2011 at 22:27 UTC | |
by ikegami (Patriarch) on Mar 06, 2011 at 00:43 UTC |