Patrick R. Michaud skribis 2005-03-14  8:10 (-0600):
> I ran into this problem while creating a mini-list of S29 functions
> (which Rod's work supercedes, I suspect, and I'm very glad he's taking
> this on).  What are some guidelines we could use in deciding 
> which functions are automatically in ::* ?  Or is this just a case 
> where we need to use past experience and best guesses as our guide?

As much as I dislike it for CGI.pm, because it's slow and bloated, its
idea of :standard is very useful.

So my vote goes to putting almost nothing in ::, but having a simple
pragma or module to import a certain group of "standard" functions.
Without this pragma, methods should still work, IMO.

    use Standard;

    use standard;

    use v6 :standard;

It would just do things like &::open ::= &IO::open, where the target is
the calling namespace only.

-e should imply this.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to