[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debconf failed configure



Kalle Valo wrote:
> Bareword found where operator expected at /usr/share/perl5/Debconf/DbDriver.pm line 25, near "qr/$params{$field}/i"
> syntax error at /usr/share/perl5/Debconf/DbDriver.pm line 25, near "qr/$params{$field}/i"

I wonder what version of perl you are using? I think that qr// has been
valid syntax since at least perl 5.004, if not longer. You have some
locally installed ancient perl, perhaps?

The md5sum of that file should be:

4497c1e698977c07a704590ec7715583  /usr/share/perl5/Debconf/DbDriver.pm

In case yours got corrupted somehow.

If this command fails to compile, it is your perl at fault:

perl -e '$this->{$field}=qr/$params{$field}/i;'

-- 
see shy jo



Reply to: