Casey West: # On Wed, Jan 23, 2002 at 01:45:44PM -0600, Jonathan Scott Duff wrote: # : # :On Wed, Jan 23, 2002 at 11:50:54AM +0000, Tim Bunce wrote: # :> Early on in the life of Perl 5 Larry adopted the convention that # :> subroutines that Perl calls automatically for you should have # :> all-caps names[*]. # : # :Not early enough to catch import() though. Oh well ... Perl 6 will # :fix that. (For various definitions of "fix" ;-) # # import() is not called automatically by Perl. It's called # automatically by the module Exporter.pm. Subtle but important # difference there.
Nope. 'use Foo;' is translated to 'BEGIN {require Foo; import Foo;}' by Perl; Exporter just provides a default implementation of import(). --Brent Dax [EMAIL PROTECTED] Parrot Configure pumpking and regex hacker <obra> mmmm. hawt sysadmin chx0rs <lathos> This is sad. I know of *a* hawt sysamin chx0r. <obra> I know more than a few. <lathos> obra: There are two? Are you sure it's not the same one?