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

Re: [PATCH++] all about the recent standard conforming glibc's n

Thread Previous
From:
Tels
Date:
April 23, 2003 14:23
Subject:
Re: [PATCH++] all about the recent standard conforming glibc's n
Message ID:
perl.perl5.porters-74669@nntp.perl.org
-----BEGIN PGP SIGNED MESSAGE-----

Moin,

On 23-Apr-03 Enache Adrian carved into stone:
> On Wed, Apr 23, 2003 at 07:58:32PM +0200, Tels wrote:
>> What about the EXPORT_OK section?
> 
> I failed to see your point. POSIX.pm exports all those functions by
> default - 
> 
> $ perl -MPOSIX -le 'print setgid $)'
> 0 but true
> 
> what is put in EXPORT and what in EXPORT_OK is "policy", and I have
> no opinions about any policy (:x

My idea was that

        use POSIX qw/setgid/;

would export _only_ setgid. (Actually, I just wanted to try to trigger the
autoload for setgid by trying to import it specifically and noticed I can't
import it, however, some functions can be imported (are in EXPORT_OK) and
the choise seemed rather arbitrary to me.)

And sorry that I thought you might "know" what should belong into
EXPORT_OK and what not :-) Maybe somebody else knows?

Best wishes,

Tels

- -- 
 Signed on Wed Apr 23 23:23:52 2003 with http://bloodgate.com/tels.asc

 perl -MDev::Bollocks -le'print Dev::Bollocks->rand()'
 confidentially conquer interactive communities

 http://www.notcpa.org/          You have the freedom to run any code. Yet.
 http://bloodgate.com/perl       My current Perl projects

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

iQEVAwUBPqcEcHcLPEOTuEwVAQH1UAf8D7b2JYNPrp8AgAEvarEcIsyXzjB5/Dor
JhsbN4EZrnzJrx1SMhOVmzrjID4qs/ILhDXoUnFHHoga12AWAAR+JAGa2K0CsaQU
ioDAArpkAa0zndOSAbX1Z9d32WK/kNe43OPnkH2DL+5QRagV9B7kaq6aQhd5Awto
wrmFdG7sU2+drG71nosvGyGf8HJPJGWl31Lg/FrfbFm+MbVGJdVYRiRm88yjsaTP
bUXDMHvxLdgxuJgub9iKh7i4UjtcHxTlLMR4u9kyIqCQbx+1hZJOdWdT724413S6
PSBD9r++W/4Ize+rQ4NurdvgU/KwwctUcmSnPFA0ufeMYQcqxaBzxQ==
=39AE
-----END PGP SIGNATURE-----

Thread Previous


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