posti has asked for the wisdom of the Perl Monks concerning the following question:
print unpack('N1', '(òÿÿ')."\n"; # gives '687013887' print unpack('l1', '(òÿÿ')."\n"; # gives '-3544'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: signed and unsigned templates in pack/unpack
by jmcnamara (Monsignor) on Mar 02, 2010 at 09:37 UTC | |
by posti (Novice) on Mar 02, 2010 at 12:42 UTC | |
by BrowserUk (Patriarch) on Mar 02, 2010 at 12:59 UTC | |
by posti (Novice) on Mar 02, 2010 at 13:53 UTC |