On 3/13/22 15:44, Diab Jerius wrote:
On Sun, Mar 13, 2022, 18:19 Shawn H Corey <shawnhco...@gmail.com> wrote:

use  Exporter      qw( import );
our @EXPORT      = qw( foo );
our @EXPORT_OK   = qw( );
our %EXPORT_TAGS = (
     all  => [ @EXPORT, @EXPORT_OK ],
);

This automatically creates a tag for `:all`.

I prefer yet another fashion (everything is driven by what's in
%EXPORT_TAGS),


Yes, sometimes that makes more sense.


David

Reply via email to