On Nov 22, 2005, at 3:56 PM, Sean Hussey wrote:
Hi everyone,

I'm trying to do a simple modify on a bunch of records.  I search for
the record, find it, and at this point, I've got it down to adding
just one attribute.  The error I get (on every record I try this on)
is:

Can't call method "modify" on an undefined value at
/usr/lib/perl5/site_perl/5.8.5/Net/LDAP/Entry.pm line 252

$entry->update;

You need to pass a Net::LDAP object to perform the update on.

$entry->update($ldap);

Graham.

Reply via email to