summaryrefslogtreecommitdiff
path: root/Xerl/Base.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Xerl/Base.pm')
-rw-r--r--Xerl/Base.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xerl/Base.pm b/Xerl/Base.pm
index 7301b32..fcf3857 100644
--- a/Xerl/Base.pm
+++ b/Xerl/Base.pm
@@ -51,7 +51,7 @@ sub AUTOLOAD {
}
elsif ( $auto =~ /.*::set$/ ) {
- $self->{$_[1]} = $_[2];
+ $self->{ $_[1] } = $_[2];
}
elsif ( $auto =~ /.*::get_(.+)_ref$/ ) {