[Israel.pm] big/little endians tests with Perl

Peter Gordon peter at pg-consultants.com
Sun Feb 22 00:06:07 PST 2009


Use the pack/unpack functions

On Sun, 2009-02-22 at 09:40 +0200, Yossi Itzkovich wrote:
> Hi,
> 
> I want to "play" a little with big/little endians. I used a  TCP server/client sample from perlipc and ran one on x86 station, and one on sparc. I sent, for example 999999 from one station to the other one - and got it OK.  So I guess (and correct me) that Perl encapsulates these differences. 
> How can I still go low level and "feel" the differences in big/little endians using Perl ?
> 
> Thanks
> 
> Yossi
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl




More information about the Perl mailing list