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.
In reply to Re^2: Is this safe to export and import functions this way?
by RonW
in thread Is this safe to export and import functions this way?
by james28909
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |