in reply to Re: Export in perl
in thread Export in perl
Didn't know about the :DEFAULT tag, thanks. On that subject, a lot of modules provide an :all tag.
our @EXPORT = qw(shuffle @card_deck); our @EXPORT_OK = ( @EXPORT, qw( collect @list ) ); our %EXPORT_TAGS = ( ':all' => \@EXPORT_OK );
use YourModule qw( :all );
|
|---|