hi all, i am quite new with Perl (just 1 week of experience) and i am suppose to understand the usage of library, which i can't, anyway...
i came across this library...i think from the linux redhat redhat.linux.lib.pl, there are a couple of functions there that can be used to retrieve information for networking purpose...ok here are my questions
- how do i retrieve those information that i need from those libraries' functions?
- how to retrieve array values from the library?
(the commands i tried to use are
use redhat.linux.lib.pl
for $i(1..100)
{@test = active_interfaces($i);
results[$i] = [@test];})
active_interfaces is a function inside the library, and later i printed the results but this is what i got
HASH(0x810f058)
HASH(0x810f0e8)
which i suspect is the address of the values that i am suppose to obtain...please help...thanx