Associate user-defined magic to variables from Perl
