The module has not been updated since 2007, but you can always send a message to the author (Matthijs van Duin: xmath@cpan.org ) or file a bug report, as Robert said in his answer.
Here are a few alternatives:
As for the additional CPAN modules for aliases that work in 5.12 +:
And the search for an “alias” on the CPAN appears a few more, however, none of them indicates the function “do everything with the help of aliases in this expression“ Data :: Alias. Thus, until Data::Alias is fixed, you can use one of the above or the following pure Perl methods:
Perl has built-in support for smoothing any variable in variables that exist in the symbol table. This is done as follows:
my $x = 1; our $y;
But, as always, be aware of which dynamic region / locale actually performs before use.
The lexical scalar can be used as an alias within the for loop:
my $x = 1; for my $y ($x) { $y++; } print $x;
this type of lexical alias can even be removed from the loop in closure if necessary
You can create array aliases using Perl alias magic for argument lists of routines:
my $x = 1; my $alias = sub{\@_}->($x);
but it does not give you more functionality than links, just with a different syntax.
And an example of using Perl links:
my $x = 1; my $y = \$x;
source share