1) Passing a block(as opposed to a string) is no more dangerous than
executing the same code outside of eval. For example,
my $success = eval {
my %member_hash;
my $member_hash;
my $member_Co;
foreach (@memb) {
# Fetch entry.
my $entry2 = $m->comp("/widgets
Sorry, hit send prematurely... as i was saying the code for dn2entry.mpl
<%args>
$ldap
$dn
$opts => {}
<%init>
my %search_opts = (
base => $dn,
scope => 'base',
filter => '(objectClass=*)',
%{$opts},
);
my $mesg = $ldap->search(%search_opts);
if($mesg->is_error) {
die
So when we say "from the internet" does that include intranet? What I have
is a form that lists all the members of a group defined in LDAP. The call
to get the members for the group is all internal and our companies internal
ldap server. is that considered "from internet". I didn't write this app,