Changeset d11ab612546f405c2b3593affc5f1a324cf4d7c9

Show
Ignore:
Timestamp:
03/24/09 19:43:36 (5 years ago)
Author:
Mark Harrison <mark@omniti.com>
git-committer:
Mark Harrison <mark@omniti.com> 1237923816 +0000
git-parent:

[52bb5975ca85e5ffcef8f40cddb41f5d2c03a1d9]

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

Another config parsing fix

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

Files:

Legend:

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

    r304858f rd11ab61  
    2626        $kvs{'object'} = $1; 
    2727        my @params = split(/,/, $2); 
    28         grep { $kvs{$1} = $2 if /^\s*(\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);