Package: libterm-readline-zoid-perl
Version: 0.07-1
Severity: normal
Tags: patch

$t->Features is returning a list rather than a hash ref.

--- Term/ReadLine/Zoid.pm.~1~   Thu Nov 25 13:27:44 2004
+++ Term/ReadLine/Zoid.pm       Tue Jan 25 14:34:51 2005
@@ -202,7 +202,7 @@
 
 sub Attribs { $_[0]{config} }
 
-sub Features { {
+sub Features { return { # "return" makes {} a hash ref rather than a block
        ( map {($_ => 1)} qw/appname minline attribs 
                addhistory addHistory getHistory getHistory TermSize/ ),
        ( map {($_ => $_[0]{config}{$_})}

-- 
Roderick Schertler
[EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to