in reply to Active Directory Object Handles
would be better (i.e. more perlishly) written asmy @list; foreach my $hand ( in $ou_hand ) { next unless $hand->{Class} eq $type; push @list, $hand; }; return [ @list ];
[ grep { $_->{Class} eq $type } in $ou_hand ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Active Directory Object Handles
by girarde (Hermit) on May 31, 2007 at 16:08 UTC |