in reply to Perl 5.10 pack() template modifier "treat signed"
Update: useless parts of posting struck out. Brain fade... sorry :-(
Well, Nn already work big-endian, and Vv work little-endian.
There doesn't seem much point these accepting < or > to override (or reenforce) their meaning -- and a quick experiment shows that they are rejected.
Of course, NnVv work unsigned. There doesn't appear to be a "make signed" qualifier, but you can get signed big-endian and signed little-endian by qualifying sSiIlLqQ to taste.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl 5.10 pack() template modifier "treat signed"
by almut (Canon) on Nov 11, 2008 at 18:04 UTC | |
by gone2015 (Deacon) on Nov 11, 2008 at 19:18 UTC | |
by almut (Canon) on Nov 11, 2008 at 19:39 UTC |