Regarding exporting without naming things
That imports without naming things. The OP was asking about avoiding to have to name all the things to export.
$ perl -e' BEGIN { package Foo; use Exporter qw( import ); sub f {} $INC{"Foo.pm"} = __FILE__; } use Foo "/./"; f(); ' Undefined subroutine &main::f called at -e line 10.
In reply to Re^2: Exporting Variables
by ikegami
in thread Exporting Variables
by packetstormer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |