Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (19 sloc) 666 Bytes
------------------------------------------------------------------------
0.04 -> 0.05
* Attributes are stored in hash slot of glob reference. Previously they were
stored in hash reference pointed by scalar slot of glob reference.
Was:
my $obj = MooseX::GlobRef::Object->new;
${*$obj}->{attr} = 42;
or:
my $obj = MooseX::GlobRef::Object->new;
my $hashref = ${*$obj};
${*$obj}->{attr} = 42;
Should be:
my $obj = MooseX::GlobRef::Object->new;
*$obj->{attr} = 42;
or:
my $obj = MooseX::GlobRef::Object->new;
my $hashref = \%{*$obj};
$hashref->{attr} = 42;
------------------------------------------------------------------------
Something went wrong with that request. Please try again.