Changeset 90b16d9babfccbc10375bf4333650c706d3420be
- Timestamp:
- 03/09/09 21:44:36
(4 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
| rd75bc41 |
r90b16d9 |
|
| 26 | 26 | $kvs{'object'} = $1; |
|---|
| 27 | 27 | 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; |
|---|
| 29 | 29 | my $object = bless \%kvs, "Resmon::Module::$current"; |
|---|
| 30 | 30 | push(@{$self->{Module}->{$current}}, $object); |
|---|