Changeset 90b16d9babfccbc10375bf4333650c706d3420be

Show
Ignore:
Timestamp:
03/09/09 21:44:36 (6 years ago)
Author:
Mark Harrison <mark@omniti.com>
git-committer:
Mark Harrison <mark@omniti.com> 1236635076 +0000
git-parent:

[6dd8f289543ade223d8afe11e7c6d8c0cf6affa8]

git-author:
Mark Harrison <mark@omniti.com> 1236635076 +0000
Message:

Allow multi word arguments in the resmon.conf file

git-svn-id: https://labs.omniti.com/resmon/trunk@159 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/Resmon/Config.pm

    rd75bc41 r90b16d9  
    2626        $kvs{'object'} = $1; 
    2727        my @params = split(/,/, $2); 
    28         grep { $kvs{$1} = $2 if /^\s*(\S+)\s*=>\s*(\S+)\s*$/ } @params; 
     28        grep { $kvs{$1} = $2 if /^\s*(\S+)\s*=>\s*(\S.+\S)\s*$/ } @params; 
    2929        my $object = bless \%kvs, "Resmon::Module::$current"; 
    3030        push(@{$self->{Module}->{$current}}, $object);