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 );
In reply to Re^2: Export in perl
by ikegami
in thread Export in perl
by aantonyselvam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |