diff options
| author | fukachan <fukachan> | 2003-09-27 06:50:25 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2003-09-27 06:50:25 +0000 |
| commit | 6abf021c5974fcff85799c55d2deb18fc488040d (patch) | |
| tree | 0349bec73c9f7b9f2505f9b56f13db18ea0af9e1 /fml/lib | |
| parent | d53dea94e3bc55ef8ffff09f55af36cfd0dee490 (diff) | |
| download | fml8-6abf021c5974fcff85799c55d2deb18fc488040d.tar.gz fml8-6abf021c5974fcff85799c55d2deb18fc488040d.tar.bz2 fml8-6abf021c5974fcff85799c55d2deb18fc488040d.zip | |
bug fix expand_variable_in_buffer() to match as many as could.
Diffstat (limited to 'fml/lib')
| -rw-r--r-- | fml/lib/FML/Config.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fml/lib/FML/Config.pm b/fml/lib/FML/Config.pm index d4ccc98c..579136c0 100644 --- a/fml/lib/FML/Config.pm +++ b/fml/lib/FML/Config.pm @@ -3,7 +3,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Config.pm,v 1.83 2003/08/23 04:35:26 fukachan Exp $ +# $FML: Config.pm,v 1.84 2003/08/24 14:08:28 fukachan Exp $ # package FML::Config; @@ -802,11 +802,11 @@ sub expand_variable_in_buffer my $varname = $1; if (defined $config->{ $varname }) { my $x = $config->{ $varname }; - $$rbuf =~ s/\$$varname/$x/; + $$rbuf =~ s/\$$varname/$x/g; } if (defined $args->{ $varname }) { my $x = $args->{ $varname }; - $$rbuf =~ s/\$$varname/$x/; + $$rbuf =~ s/\$$varname/$x/g; } } } |
