You can refer to the tests to have more insight of where the different magics are invoked.
-To prevent any clash between different magics defined with this module, an unique numerical signature is attached to each kind of magic (i.e. each set of callbacks for magic operations).
-At the C level, magic tokens owned by magic created by this module have their C<< mg->mg_private >> field set to C<0x3891> or C<0x3892>, so please don't use these magic (sic) numbers in other extensions.
-
=head1 FUNCTIONS
=cut
my %opts = @_;
- my @keys = qw<data op_info get set len clear free>;
- push @keys, 'copy' if MGf_COPY;
- push @keys, 'dup' if MGf_DUP;
+ my @keys = qw<op_info data get set len clear free copy dup>;
push @keys, 'local' if MGf_LOCAL;
push @keys, qw<fetch store exists delete copy_key> if VMG_UVAR;