Nathan Gibbs wrote:
How would I get the length of a string as returned by length () into

a 4 byte unsigned integer in  network byte order

my $length = pack 'N', length $string;



John
--
The programmer is fighting against the two most
destructive forces in the universe: entropy and
human stupidity.               -- Damian Conway

--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/


Reply via email to