Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
That produces:my $var = pack('a3CCx3C','ABC',01,02,09);
I can change 09 to 19 or 99, then it will "work" (meaning it assigns that value, which isn't the value that I want). What is wrong with 09?Illegal octal digit '9' at ./myscript line 10, at end of line
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Assigning a hexadecimal string
by FunkyMonk (Bishop) on Jan 01, 2010 at 12:02 UTC |