Hi All.

Just found that some new modifies where added to pack's template:
< will declare a variable as little-endian,
and > will declare a variable as bin-endian.

Meaning, that you can write:
pack "s>", -43

Up until now only unsigned short and unsigned long had big/little endian 
handling. (nNvV) From 5.10 - every type can be.

Nice.

Shmuel.

_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to