diff options
author | Andreas König <a.koenig@mind.de> | 2001-11-02 07:11:35 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-02 04:17:04 +0000 |
commit | a81e5e2ecfdba68742ad72b753ace2dd711691b5 (patch) | |
tree | ebc37bf5e80513bece580be53802510543f63ca7 /pod | |
parent | bfa383d613055a7a37cd2a7c710949ec437a40af (diff) | |
download | perl-a81e5e2ecfdba68742ad72b753ace2dd711691b5.tar.gz |
Trivial doc patch
Message-ID: <m37kt94v08.fsf@anima.de>
p4raw-id: //depot/perl@12805
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlport.pod | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pod/perlport.pod b/pod/perlport.pod index 8e94e22ad0..287eaf5131 100644 --- a/pod/perlport.pod +++ b/pod/perlport.pod @@ -423,13 +423,13 @@ simple, platform-independent mailing. The Unix System V IPC (C<msg*(), sem*(), shm*()>) is not available even on all Unix platforms. -Do not use either the bare result of C<pack("N", 10, 20, 30, 40)> -or bare v-strings (such as C<v10.20.30.40>) or to represent -IPv4 addresses: both forms just pack the four bytes into network order. -That this would be equal to the C language C<in_addr> struct (which is -what the socket code internally uses) is not guaranteed. To be -portable use the routines of the Socket extension, such as -C<inet_aton()>, C<inet_ntoa()>, and C<sockaddr_in()>. +Do not use either the bare result of C<pack("N", 10, 20, 30, 40)> or +bare v-strings (such as C<v10.20.30.40>) to represent IPv4 addresses: +both forms just pack the four bytes into network order. That this +would be equal to the C language C<in_addr> struct (which is what the +socket code internally uses) is not guaranteed. To be portable use +the routines of the Socket extension, such as C<inet_aton()>, +C<inet_ntoa()>, and C<sockaddr_in()>. The rule of thumb for portable code is: Do it all in portable Perl, or use a module (that may internally implement it with platform-specific |