How do you extract the information from a library?

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

  1. how do i retrieve those information that i need from those libraries' functions?
  2. 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

Is this for a school project / homework?

hm...it is a project...given by my lecturer...i couldn't understand it...so i hope to get some help with it :slight_smile:

hm...i have managed to solve this problem by myself...it is just an error in retrieving those information...anyway..thanx