Adding the perl bindings example.

This commit is contained in:
gri6507
2011-11-28 18:40:12 +00:00
parent 2b433d72a7
commit a5f6a1d77b
8 changed files with 2589 additions and 0 deletions
@@ -0,0 +1,16 @@
use warnings;
use strict;
if (scalar(@ARGV) == 1)
{
my $device = $ARGV[0];
my ($resp, $failed) = ReadProperty($device, 'OBJECT_ANALOG_VALUE', 0, 'PROP_PRESENT_VALUE');
print "status was '$failed' and the response was '$resp'\n";
}
else
{
print "Must specify device instance number as an argument to this script\n";
}
1;