in reply to why the unpack doesnt split the data to the array ?
>perl -le"$,=', '; print unpack('C5', 'abcdefgh')" 97, 98, 99, 100, 101 >perl -le"$,=', '; print unpack('A5', 'abcdefgh')" abcde
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: why the unpack doesnt split the data to the array ?
by gyre007 (Novice) on Aug 06, 2008 at 19:10 UTC | |
by Corion (Patriarch) on Aug 06, 2008 at 19:14 UTC | |
by gyre007 (Novice) on Aug 06, 2008 at 19:20 UTC | |
by ikegami (Patriarch) on Aug 06, 2008 at 19:24 UTC | |
by ikegami (Patriarch) on Aug 06, 2008 at 19:21 UTC |