Skip to content
Browse files

LDAP.pm: make done a typeglob, alias to unbind

  • Loading branch information...
1 parent c6ff67f commit d66ca9db5da39a86427f89a89a298b2697bd709e @marschap marschap committed Sep 16, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/Net/LDAP.pm
View
4 lib/Net/LDAP.pm
@@ -341,9 +341,7 @@ sub unbind {
}
# convenience alias
-sub done {
- goto &unbind;
-}
+*done = \&unbind;
sub ldapbind {

0 comments on commit d66ca9d

Please sign in to comment.
Something went wrong with that request. Please try again.