in reply to Changing a DN with Net::LDAP

According to Net::LDAP::Message, the object returned by moddn() does not have a text() method. Perhaps you intended one of these:

$err->error $err->error_desc $err->error_text

Regards,

PN5