Permalink
Browse files

LDAP.pm: unbreak - make done a real sub

Make done() a real subroutine instead of an alias.
This unbreaks the tests.
  • Loading branch information...
1 parent 2d2c8f5 commit 67db467e081a725dfff4e6277b92df0b9ed791fb @marschap marschap committed Sep 5, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/Net/LDAP.pm
View
@@ -341,7 +341,10 @@ sub unbind {
}
# convenience alias
-*done = &unbind;
+sub done {
+ goto &unbind;
+}
+
sub ldapbind {
require Carp;

0 comments on commit 67db467

Please sign in to comment.