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
- Re: Really auto autoloaded mod... Edward Peschko
- Re: Really auto autoloaded mod... Nicholas Clark
- Re: Really auto autoloaded mod... Simon Cozens
- Re: Really auto autoloaded mod... John Porter
- Re: Really auto autoloaded modules Ken Fox
- Re: Really auto autoloaded modules Dan Sugalski
- Re: Really auto autoloaded modules Michael G Schwern
- Re: Really auto autoloaded modules Dan Sugalski
- Re: Really auto autoloaded modules John Porter
- Re: Really auto autoloaded mod... Dan Sugalski
- Re: Really auto autoloaded mod... John Porter
- Re: Really auto autoloaded mod... John Porter
- Re: Really auto autoloaded mod... Tim Bunce
- Re: Really auto autoloaded mod... John Porter
- Re: Really auto autoloaded mod... John Porter
- Re: Really auto autoloaded modules Johan Vromans
- Re: Really auto autoloaded modules Dan Sugalski
- RE: Really auto autoloaded modules Garrett Goebel
- Re: Really auto autoloaded modules Michael G Schwern
- RE: Really auto autoloaded modules Garrett Goebel