As in the attached code: The variables do not "unlink" when the program
exits or when I specify to unlink.

I.E: If I run this program once, then run it again with incorrect domain
specified it gives the same information.

Is there any way of gracefully "exiting" and removing all the variables from
memory.

Thanks in advance for you help.

--SNIP--

#Get list of Domain Users

use Win32::NetAdmin;

$domain = @ARGV[0];

Win32::NetAdmin::GetAnyDomainController("",$domain, $dc);
print "$dc\t$domain\n";
Win32::NetAdmin::GroupGetMembers($dc, "Domain Users", \@machines);

foreach $item (@machines) {
print "$item\n";
}

exit (0);




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to