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

debconf and perl : how to use it ?


I'm trying to contact some debian devel because I don't manage to get debconf perl module working

In the end, I've made a mini perl executable named test.pl :

------------------ test.pl --------------
#! /usr/bin/perl -w
use strict
use Debconf::Client::ConfModule qw(:all);

my ($status,$value)=get('debconf/priority');
print $value,"\n";

If I use the command

I get nothing. Nothing is printed, everything seems to be useless.

But if I ask a bit more debug
DEBCONF_DEBUG=developer test.pl

Everything then seems to work fine. I see the dialog, and the print works well.

what did I miss ? I've tried to google the Debconf::Client::ConfModule, I've tried to read the sources, but I didn't find the answer. Any help would be appreciated.

(PS: I'm using debian-devel-french usually, so if you can make a CC for me)
laurent COOPER
CARMI Internet de l'académie de Grenoble
Equipe SLIS, B2I, C2I1

Reply to: