in reply to Netbios question

checkout Filesys::SmbClientParser for the smbclient usage, and you can use a range of IP addresses for your internal network and ping to test if they are active before you try to list their shares to save some timeout time.

-Waswas

Replies are listed 'Best First'.
Re: Re: Netbios question
by nekron99_ (Acolyte) on Jun 18, 2003 at 22:00 UTC
    a pretty easy method is to loop through the IP's calling
    open ( COMMAND, "nmblookup -A $IPAddress |" ); my @DATA = <COMMAND>; close COMMAND; parse (@DATA); #using regex