From 78969093592e17ea1c5a78b294d7d7a282b21ab2 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Mon, 11 Oct 2010 22:11:22 -0700 Subject: Only change the first underscore to a period. --- usr/src/libpiny/lib/Piny/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/src') 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' -- cgit v1.2.3