in reply to Re: Is this safe to export and import functions this way?
in thread Is this safe to export and import functions this way?
I suggest doing it this way:
our @EXPORT_OK = qw(print_lines test test_2); our %EXPORT_TAGS = (all => \@EXPORT_OK);
Because when you set @EXPORT, the items in @EXPORT are automatically exported.
|
|---|