Package: libexpect-perl
Version: 1.20-1
Severity: normal

[EMAIL PROTECTED]:~>perl -we 'use strict; use Expect; my 
$e=Expect->spawn("ls"); $e->expect(0, [q{[} => sub {}])' 
Unmatched [ in regex; marked by <-- HERE in m/[ <-- HERE ()/ at 
/usr/share/perl5/Expect.pm line 707.
[EMAIL PROTECTED]:~>perl -we 'use strict; use Expect; my 
$e=Expect->spawn("ls"); $e->expect(0, ["-re" , q{[} => sub {}])'
Unmatched [ in regex; marked by <-- HERE in m/[ <-- HERE ()/ at 
/usr/share/perl5/Expect.pm line 707.

According to the documentation, the '[' in the first expression should not be 
interpreted as
a regexp.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libexpect-perl depends on:
ii  libio-pty-perl                1:1.07-1   Perl module for pseudo tty IO
ii  libio-stty-perl               0.02-9     Interface to secure pseudo ttys
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

libexpect-perl recommends no packages.

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to