Config-JSON-Enhanced v0.03 Perl 5 v5.20.0 x86_64-linux

Status
Pass
From
Slaven Rezić
Dist
Config-JSON-Enhanced v0.03
Platform
Perl 5 v5.20.0 x86_64-linux
Date
2023-09-26 00:40:09
ID
3f04dec8-5c05-11ee-9fb6-a0096e8775ea
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--
Dear Andreas Hadjiprocopis,

This is a computer-generated report for Config-JSON-Enhanced-0.03
on perl 5.20.0, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN.  Congratulations!
All tests were successful.

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

none provided

------------------------------
PROGRAM OUTPUT
------------------------------

Output from '/usr/bin/make test':

PERL_DL_NONLAZY=1 "/opt/perl-5.20.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing Config::JSON::Enhanced 0.03, Perl 5.020000, /opt/perl-5.20.0/bin/perl
t/000-load.t ...................................... ok
t/010-config2perl-simple.t ........................ ok
t/020-config2perl-complex.t ....................... ok
t/025-config2perl-complex-utf8.t .................. ok
--begin content:
  {
    ___EJSTRING(0)___ : [___EJSTRING(1)___,
    <%begin-verbatim-section%>
    pushd . &> /dev/null
    echo ___EJSTRING(2)___
    echo ___EJSTRING(3)___ $(echo $PWD) ___EJSTRING(4)___
    popd &> /dev/null
    ],
    
    ___EJSTRING(5)___ : ___EJSTRING(6)___
  }

--end content.
Config::JSON::Enhanced::config2perl() (line 172) : warning, there may still be remains of templated variables in the specified content, see above what remained after all verbatime sections were removed. at /home/cpansand/.cpan/build/2023092602/Config-JSON-Enhanced-0.03-0/blib/lib/Config/JSON/Enhanced.pm line 172.
json2perl() :  error, call to json2perl() has failed with this exception: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 51 (before "<%begin-verbatim-sec...") at /home/cpansand/.cpan/build/2023092602/Data-Roundtrip-0.18-0/blib/lib/Data/Roundtrip.pm line 218.
  {
    "long bash script" : ["/usr/bin/bash",
    <%begin-verbatim-section%>
    pushd . &> /dev/null
    echo "My 'appdir' is \"/home/cpansand/.cpan/build/2023092602/Config-JSON-Enhanced-0.03-0/t\""
    echo "My current dir: " $(echo $PWD) " and bye"
    popd &> /dev/null
    ],
    
    "expected result" : "42"
  }


Config::JSON::Enhanced::config2perl() (line 191) : error, call to Data::Roundtrip::json2perl() has failed for above json string and comments style 'C,CPP'. at /home/cpansand/.cpan/build/2023092602/Config-JSON-Enhanced-0.03-0/blib/lib/Config/JSON/Enhanced.pm line 191.
t/030-config2perl-failed-verbatim.t ............... ok
t/040-config2perl-remove-comments-from-strings.t .. ok
t/050-commentstyle.t .............................. ok
t/060-custom-tags.t ............................... ok
# $VAR1 = {"c" => 12,"b" => [1,2,3],"a" => "abc"};
# $VAR1 = {"a" => "This is a multiline\nstring\n\"quoted text\" and 'quoted like this also'\nwill be retained in the string escaped.\nComments like /* this */ or # this comment\nwill be removed.\nWhite space from beginning and end will be chomped.","b" => 123};
Use of uninitialized value $av in substitution iterator at /home/cpansand/.cpan/build/2023092602/Config-JSON-Enhanced-0.03-0/blib/lib/Config/JSON/Enhanced.pm line 94.
# $VAR1 = {"username" => "","configfile" => "/home/cpansand/.cpan/build/2023092602/Config-JSON-Enhanced-0.03-0/t/config/myapp.conf","d" => [1,2,42]};
t/090-config2perl-pod-synopsis.t .................. ok
t/091-config2perl-pod.t ........................... ok
t/manifest.t ...................................... skipped: Author tests not required for installation
t/pod-coverage.t .................................. skipped: Author tests not required for installation
t/pod.t ........................................... skipped: Author tests not required for installation
All tests successful.
Files=13, Tests=6137,  2 wallclock secs ( 0.15 usr  0.05 sys +  1.08 cusr  0.17 csys =  1.45 CPU)
Result: PASS

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module              Need  Have    
    ------------------- ----- --------
    Data::Roundtrip     0     0.18    
    perl                5.006 5.020000

build_requires:

    Module              Need  Have    
    ------------------- ----- --------
    Cwd                 0     3.62    
    ExtUtils::MakeMaker 0     7.24    
    File::Temp          0     0.2304  
    FindBin             0     1.51    
    Test2::Plugin::UTF8 0     0.000156
    Test::More          0     1.302195

configure_requires:

    Module              Need  Have    
    ------------------- ----- --------
    ExtUtils::MakeMaker 0     7.24    


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    LANG = en_US.UTF-8
    LANGUAGE = en_US:en
    LC_ALL = en_US.UTF-8
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/linux-gnu:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
    PERL5LIB = /home/cpansand/.cpan/build/2023092602/Data-Roundtrip-0.18-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Data-Roundtrip-0.18-0/blib/lib:/home/cpansand/.cpan/build/2023092602/YAML-1.30-0/blib/arch:/home/cpansand/.cpan/build/2023092602/YAML-1.30-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Unicode-Escape-0.0.2-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Unicode-Escape-0.0.2-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Test-Script-1.29-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Test-Script-1.29-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Test2-Suite-0.000156-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Test2-Suite-0.000156-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Term-Table-0.017-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Term-Table-0.017-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Test-Simple-1.302195-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Test-Simple-1.302195-0/blib/lib:/home/cpansand/.cpan/build/2023092602/JSON-4.10-0/blib/arch:/home/cpansand/.cpan/build/2023092602/JSON-4.10-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Encode-3.19-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Encode-3.19-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Data-Random-Structure-UTF8-0.06-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Data-Random-Structure-UTF8-0.06-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Data-Random-Structure-0.01-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Data-Random-Structure-0.01-0/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 17370
    PERL5_CPAN_IS_RUNNING = 17370
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 4432,17370
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2023092602/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_USE_UNSAFE_INC = 1
    SHELL = /bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2023092602

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /opt/perl-5.20.0/bin/perl
    $UID/$EUID = 1023 / 1023
    $GID = 1023 1023
    $EGID = 1023 1023

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.16    
    CPAN::Meta          2.150010
    Cwd                 3.62    
    ExtUtils::CBuilder  0.280216
    ExtUtils::Command   7.24    
    ExtUtils::Install   1.67    
    ExtUtils::MakeMaker 7.24    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.24    
    File::Spec          3.62    
    JSON                4.10    
    JSON::PP            2.27400 
    Module::Build       0.4220  
    Module::Signature   0.81    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.30    
    Test::More          1.302195
    YAML                1.30    
    YAML::Syck          1.29    
    version             0.9917  


--

Summary of my perl5 (revision 5 version 20 subversion 0) configuration:
   
  Platform:
    osname=linux, osvers=3.2.0-4-amd64, archname=x86_64-linux
    uname='linux cvrsnica-wheezy 3.2.0-4-amd64 #1 smp debian 3.2.54-2 x86_64 gnulinux '
    config_args='-ds -e -Dprefix=/opt/perl-5.20.0'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.7.2', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
    libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.13.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.13'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
                        USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
  Built under linux
  Compiled at Jul 19 2014 07:43:18
  %ENV:
    PERL5LIB="/home/cpansand/.cpan/build/2023092602/Data-Roundtrip-0.18-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Data-Roundtrip-0.18-0/blib/lib:/home/cpansand/.cpan/build/2023092602/YAML-1.30-0/blib/arch:/home/cpansand/.cpan/build/2023092602/YAML-1.30-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Unicode-Escape-0.0.2-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Unicode-Escape-0.0.2-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Test-Script-1.29-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Test-Script-1.29-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Test2-Suite-0.000156-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Test2-Suite-0.000156-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Term-Table-0.017-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Term-Table-0.017-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Test-Simple-1.302195-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Test-Simple-1.302195-0/blib/lib:/home/cpansand/.cpan/build/2023092602/JSON-4.10-0/blib/arch:/home/cpansand/.cpan/build/2023092602/JSON-4.10-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Encode-3.19-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Encode-3.19-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Data-Random-Structure-UTF8-0.06-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Data-Random-Structure-UTF8-0.06-0/blib/lib:/home/cpansand/.cpan/build/2023092602/Data-Random-Structure-0.01-0/blib/arch:/home/cpansand/.cpan/build/2023092602/Data-Random-Structure-0.01-0/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="17370"
    PERL5_CPAN_IS_RUNNING="17370"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="4432,17370"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2023092602/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/cpansand/.cpan/build/2023092602/Data-Roundtrip-0.18-0/blib/arch
    /home/cpansand/.cpan/build/2023092602/Data-Roundtrip-0.18-0/blib/lib
    /home/cpansand/.cpan/build/2023092602/YAML-1.30-0/blib/arch
    /home/cpansand/.cpan/build/2023092602/YAML-1.30-0/blib/lib
    /home/cpansand/.cpan/build/2023092602/Unicode-Escape-0.0.2-0/blib/arch
    /home/cpansand/.cpan/build/2023092602/Unicode-Escape-0.0.2-0/blib/lib
    /home/cpansand/.cpan/build/2023092602/Test-Script-1.29-0/blib/arch
    /home/cpansand/.cpan/build/2023092602/Test-Script-1.29-0/blib/lib
    /home/cpansand/.cpan/build/2023092602/Test2-Suite-0.000156-0/blib/arch
    /home/cpansand/.cpan/build/2023092602/Test2-Suite-0.000156-0/blib/lib
    /home/cpansand/.cpan/build/2023092602/Term-Table-0.017-0/blib/arch
    /home/cpansand/.cpan/build/2023092602/Term-Table-0.017-0/blib/lib
    /home/cpansand/.cpan/build/2023092602/Test-Simple-1.302195-0/blib/arch
    /home/cpansand/.cpan/build/2023092602/Test-Simple-1.302195-0/blib/lib
    /home/cpansand/.cpan/build/2023092602/JSON-4.10-0/blib/arch
    /home/cpansand/.cpan/build/2023092602/JSON-4.10-0/blib/lib
    /home/cpansand/.cpan/build/2023092602/Encode-3.19-0/blib/arch
    /home/cpansand/.cpan/build/2023092602/Encode-3.19-0/blib/lib
    /home/cpansand/.cpan/build/2023092602/Data-Random-Structure-UTF8-0.06-0/blib/arch
    /home/cpansand/.cpan/build/2023092602/Data-Random-Structure-UTF8-0.06-0/blib/lib
    /home/cpansand/.cpan/build/2023092602/Data-Random-Structure-0.01-0/blib/arch
    /home/cpansand/.cpan/build/2023092602/Data-Random-Structure-0.01-0/blib/lib
    /opt/perl-5.20.0/lib/site_perl/5.20.0/x86_64-linux
    /opt/perl-5.20.0/lib/site_perl/5.20.0
    /opt/perl-5.20.0/lib/5.20.0/x86_64-linux
    /opt/perl-5.20.0/lib/5.20.0
    .