Subject: | Typo mistake in LDAP.pm |
Date: | Thu, 08 Aug 2013 11:44:18 +0200 |
To: | bug-Apache-Session-Browseable [...] rt.cpan.org |
From: | Florian Praden <florian [...] praden.eu> |
Hi,
I found a typo mistake in LDAP.pm:
In /usr/share/perl5/Apache/Session/Browseable/LDAP.pm line 116,
Bareword "netx" not allowed while "strict subs" in use at
/usr/share/perl5/Apache/Session/Browseable/LDAP.pm line
116.\nCompilation failed in require at (eval 141) line 1.\nBEGIN
failed--compilation aborted at (eval 141) line 1.\n
I corrected in my installation with this diff
------------------------
--- /usr/share/perl5/Apache/Session/Browseable/LDAP.pm~ 2012-06-24
09:05:58.000000000 +0200
+++ /usr/share/perl5/Apache/Session/Browseable/LDAP.pm 2013-05-20
12:47:52.633334574 +0200
@@ -113,7 +113,7 @@
my $tmp = $entry->get_value('description');
next unless ($tmp);
eval { $tmp = unserialize($tmp); };
- netx if ($@);
+ next if ($@);
if ( ref($data) eq 'CODE' ) {
$res{$id} = &$data( $tmp, $id );
}
------------------------------
Best,
--
Florian
Message body not shown because it is not plain text.