in reply to Re: Configuring module by import keyword
in thread Configuring module by import keyword
The grepping part ensures that we do not try to export functions that do not really exist (-auth and such are just pragmas, the corresponding functions do not exist).sub import { # … Auth->export_to_level(1, grep { $_ !~ /^-/ } @_); }
|
|---|