Hello Sylvain,

On Friday 09 February 2007 14:29, Sylvain Rochet wrote:
> Package: libconfig-general-perl
> Version: 2.31-3
> Severity: normal
>
>
> Hi,
>
> Here is my source config file, the source code used, and the Data::Dumper
> output.
>
> ----- config file -----
> <plop world>
>         <plip 0>
>                 <plup tag>
>                         hophop  contenthophop
>                 </plup>
>         </plip>
> </plop>
> ----------------------
>
> ---- code -----------
> #!/usr/bin/perl -w
>
> use strict;
> use Config::General;
> use Data::Dumper;
>
> my $conf;
> $conf = new Config::General( -ConfigFile => "./essai.conf" );
> print Dumper $conf->getall();
> -------------------
>
> ---- output --------------
> $VAR1 = 'plop';
> $VAR2 = {
>   'world' => {
>      'plip' => {
>         'plup' => {
>            'tag' => {
>               'hophop' => 'contenthophop'
>                     }
>                   }
>                 }
>              }
>         };
> --------------------------
>
> ==> 0 disappeared
>
>
> Sylvain
>
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.17.1
> Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
>
> Versions of packages libconfig-general-perl depends on:
> ii  perl                          5.8.8-6.1  Larry Wall's Practical
> Extraction
>
> libconfig-general-perl recommends no packages.
>
> -- no debconf information

Thanks for your report,

The problem is with integer values in the tag.

<test one> 
<test 1> --> problem

Use a string value.

Cheers,
Francesco

-- 
 .''`.  ** Debian GNU/Linux **  | Francesco Cecconi ' |BrAnD| '
: :'  :   The Universal O.S.    | [EMAIL PROTECTED]
`. `'`                          | GPG Key ID: 11F6E468
  `-    *Debian Pkg Maintainer* | JID [EMAIL PROTECTED]


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

Reply via email to