fork(2) download
  1. #!/usr/bin/perl
  2.  
  3. use strict;
  4. use warnings;
  5.  
  6. my $UPN = 'joesnuffy@apples.grumpy.com';
  7. my $UPN2 = 'joesnuffy@apples.grumpy.com';
  8.  
  9. my %AD_Master_List;
  10. my %HTE_Master_List;
  11.  
  12. $AD_Master_List{$UPN}="foo";
  13. $HTE_Master_List{$UPN2}="bar";
  14.  
  15. foreach my $A (keys(%HTE_Master_List))
  16. {
  17. unless (exists ($AD_Master_List{$A}))
  18. {print "$A is not present in Active Directory\n";}
  19. }
Success #stdin #stdout 0s 6176KB
stdin
Standard input is empty
stdout
Standard output is empty