return $parm;
}
-sub dumpEntity { # for debug
+sub dumpItem { # for debug
my $self = shift;
- print Dumper $self->{entity};
+ my $item = shift;
+ unless (defined($item)){
+ print Dumper $self->{entity};
+ } else {
+ print Dumper $self->{entity}->{$item};
+ }
}
sub channelList {
return $self->{entity}->{AdcSensor}->{children};# returns a reference to an array
}
+
# returns a hash ref to the following contents (example);
#
# $VAR1 = {
=head1 SYNOPSIS
-changeConfigVal.pl -c config.xml [-v]
+changeConfigVal.pl -c /path/to/config.xml [-v]
The script parses STDIN for attribution directives in the format "registerName/fieldName=value" and applies
these attributions to a denoted configuration XML file. Multiple attributions can be processed at