search for: batt_percent

Displaying 1 result from an estimated 1 matches for "batt_percent".

Did you mean: bat_percent
2013 Feb 27
1
some help in using the package NUT in a perl script
Hello, I want use the package NUT in a script perl, i wonder how use the result of method such as BattPercent() for example. here is my code : _#!/usr/bin/perl -w_ _# server_ _use strict;_ _#use /etc/nut/dev/modules;_ _#use IO::Socket::Multicast;_ _use UPS::Nut;_ _my $message = localtime;_ _$message .=" `who` . n";_ _print "-- test : $message n";_ _my $ups = new