Skip to content

Commit

Permalink
Fix SYNOPSIS to match the method descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
gbarr committed Oct 24, 2001
1 parent d0b4f87 commit 778a839
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lib/Net/LDAP.pod
Expand Up @@ -24,13 +24,12 @@ Net::LDAP - Lightweight Directory Access Protocol

$ldap = Net::LDAP->new('ldap.umich.edu');

$ldap->bind ( # bind to a directory with dn and password
dn => 'cn=root, o=University of Michigan, c=us',
# bind to a directory with dn and password
$ldap->bind ( 'cn=root, o=University of Michigan, c=us',
password => 'secret'
);

$result = $ldap->add (
dn => 'cn = Barbara Jensen, o=University of Michigan, c=us',
$result = $ldap->add ( 'cn = Barbara Jensen, o=University of Michigan, c=us',
attr => [ 'cn' => ['Barbara Jensen', 'Barbs Jensen'],
'sn => 'Jensen',
'mail' => 'b.jensen@umich.edu',
Expand Down Expand Up @@ -871,6 +870,6 @@ terms as Perl itself.

=for html <hr>

I<$Id: LDAP.pod,v 1.13 2001/10/05 14:33:26 gbarr Exp $>
I<$Id: LDAP.pod,v 1.14 2001/10/24 12:37:14 gbarr Exp $>

=cut

0 comments on commit 778a839

Please sign in to comment.