develooper Front page | perl.perl5.porters | Postings from April 2003

POSIX and EXPORT_OK

Thread Next
From:
Tels
Date:
April 22, 2003 13:10
Subject:
POSIX and EXPORT_OK
Message ID:
perl.perl5.porters-74584@nntp.perl.org
-----BEGIN PGP SIGNED MESSAGE-----

Moin,

noticed that in POSIX some of the functions like setgid cannot
be imported (they are not listed in EXPORT_OK), however, using some tags it
is possible to import them, e.g.:

        use POSIX gw/setgid/;

fails. Should I correct this, too?

Also, Net::Server has some checks on whether setgid and setgid worked or
not. And they are wrong, because the return value is different than what
the author expected. However, POSIX.pm does not mention the return values,
but "man setgid" does. Should this be documented, or is this something
different on each system? (You can tell I have not the slightest clue about
POSIX at all). Pointers appreciated :)

Best wishes,

Tels


- -- 
 http://www.notcpa.org/ You still can run any code on your CPU. How long?
 Signed on Tue Apr 22 22:10:25 2003 with http://bloodgate.com/tels.asc

 perl -MDev::Bollocks -le'print Dev::Bollocks->rand()'
 dynamically conquer total partnerships

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.

iQEVAwUBPqWht3cLPEOTuEwVAQHtQwf+LaZmnTohjSJmwY7IPq24ysCYKn2YihGX
I0a33YnV250ehbUSPNJh9mndBqJ4yMZWOK91yAFlUoJeiN9LyvnGkJpdMTLF/wTW
xW8R0Kezbg8EG5saxThnKw+9kaua6w46rbLDeDZz4ytXHY/By1ZpCx4I5PAUIu/q
7jyFTU0i8eqIfJt0cNPVLoeOIyVftD/w8BpEKPCymCwcGjzGaHjwMQBV4EAUQ2+8
KOJymMe95Nw7jwfDz4fF/5Wi+IPkF0PaB80DzYMHwG0643Gll9pHaLvIyFuBxFyP
OtfYe2UEGUKwT6r3VvZRfU0u/sMv1Qhi8mzFeUUxMaQfGyKnTQJAoA==
=KFoD
-----END PGP SIGNATURE-----

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About