in reply to Network Neighborhood and LWP::UserAgent list directory
LWP is the wrong approach, unless you're fetching thrings from the web (http), ftp, and the filesystem/network shares in the same application.
Also, you won't see hidden shares.
I think you need to use the Win32::NetResource to get a list of shares, and other related Win32 modules for doing things on Windows networks.
Check out David Roth's Windows NT: Win32 Perl Programming and Win32 Perl Scripting books for references and a more complete listing of how to do things with with Windows and Windows networking.
|
|---|