On Nov 8, Arul, Rex said:

>Import is redundant because, whenever you say, "use Defaults" it is akin
>to a directive.

Yes,

  use Module;

becomes

  BEGIN {
    require Module;
    Module->import;
  }

but we weren't use()ing the file.  The bigger problem is that I called the
import method from the wrong package.

I should have used

  Defaults->export_to_level(1, @EXPORT);

This method is documented in the Exporter docs.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to