in reply to Re: Re: Undefined subroutine
in thread Undefined subroutine

I suspect that your code now looks like:
$ldap = new Net::LDAP->('host.edu', port => '389');
which is incorrect syntax. If you are using indirect object syntax (see perlobj under "Method Invocation"), your code should read:
$ldap = new Net::LDAP('host.edu', port => 389) or die "$@";
But it is better to use:
$ldap = Net::LDAP->new('host.edu', port => 389) or die "$@";
(As an aside, remember to check your return values!)

See Indirect object syntax (RE: Beginnings of Online CGI Course) and the thread starting with Re: Object Troubles for discussion about indirect object syntax (and why it is generally a Bad Thing).

--sacked