At 11:01 AM 2/2/2001 -0500, John Porter wrote:
>Dan Sugalski wrote:
> >
> > The last
> > thing I want is for every module to automagically export all (or even 
> some)
> > of its functions. That way lies namespace pollution *real* fast.
>
>I don't see why this is a concern.  Unless some explicit arrangement
>is made for CGI to export param (following the example), a call to
>unqualified param() in user code shouldn't find CGI::param,
>automagically loaded or otherwise.

It's the explicit exporting that I'm concerned about. Perhaps I'm being 
overly worried, but it strikes me that if all a module needs to do to get 
on the autoload list is have an @EXPORT_AUTO declaration at the top (or 
something similar) we're going to see it abused rather badly.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to