summaryrefslogtreecommitdiff
path: root/usr/src/libpiny
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2010-10-11 22:11:22 -0700
committerjblake+piny@omgwallhack.org <jblake@omgwallhack.org>2010-10-11 22:11:22 -0700
commit78969093592e17ea1c5a78b294d7d7a282b21ab2 (patch)
tree5694c2c47afcf72d7920cfd5e81d6f8bf87f7d85 /usr/src/libpiny
parent914dbc26329962ebe1607001ec8341d287a4865e (diff)
downloadpiny-code-78969093592e17ea1c5a78b294d7d7a282b21ab2.tar.gz
piny-code-78969093592e17ea1c5a78b294d7d7a282b21ab2.zip
Only change the first underscore to a period.
Diffstat (limited to 'usr/src/libpiny')
-rw-r--r--usr/src/libpiny/lib/Piny/Config.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/libpiny/lib/Piny/Config.pm b/usr/src/libpiny/lib/Piny/Config.pm
index de146e7..cfbe2c6 100644
--- a/usr/src/libpiny/lib/Piny/Config.pm
+++ b/usr/src/libpiny/lib/Piny/Config.pm
@@ -125,7 +125,7 @@ sub tweakable {
my ( $attr, $default ) = @_;
my $attrname = $attr;
- $attrname =~ s/_/./g;
+ $attrname =~ s/_/./;
has $attr =>
( is => 'rw'