216 |
|
$fh->open("<".$location) or die "Unable to open $location for output". |
217 |
|
$!."\n"; |
218 |
|
my ($tool,$type,$variable,$value); |
219 |
+ |
my @fields; |
220 |
|
while ( <$fh> ) { |
221 |
|
chomp; |
222 |
|
next if /^#/; |
223 |
|
next if /^\s*$/; |
224 |
< |
($variable, $value, $type)=split /:/; |
224 |
> |
@fields=split /:/; |
225 |
> |
if ( $_!~/:$/ ) { |
226 |
> |
$type=pop @fields; |
227 |
> |
} |
228 |
> |
else { $type="" }; |
229 |
> |
$variable=shift @fields; |
230 |
> |
$value=join ":",@fields; |
231 |
> |
#($variable, $value, $type)=split /:/; |
232 |
|
next if ( $variable=~/\&/ ); |
233 |
|
$product=~tr[A-Z][a-z]; |
234 |
|
if ( $type eq "_sys" ) { |