This is a special syntax for specialized import lists , especially for export tags.
Here is an example of an example part of a module from this documentation.
@EXPORT = qw(A1 A2 A3 A4 A5); @EXPORT_OK = qw(B1 B2 B3 B4 B5); %EXPORT_TAGS = (T1 => [qw(A1 A2 B1 B2)], T2 => [qw(A1 A2 B3 B4)]);
The user of this module can say:
use Module qw(:DEFAULT :T2);
to import all names from the default set ( @EXPORT ) plus those defined in the T2 set.
If only...
the package in question overloads the import swap and does whatever it wants with the option, which apparently does this package according to the amesee answer .
source share