HTML-Expander v2.7 Perl 5 v5.37.1 x86_64-linux

Status
Pass
From
Andreas J. König (ANDK)
Dist
HTML-Expander v2.7
Platform
Perl 5 v5.37.1 x86_64-linux
Date
2022-07-15 04:12:26
ID
55c06aa2-03f4-11ed-90db-acb1b2eef84e
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 Vladi Belperchinov-Shabanski,

This is a computer-generated report for HTML-Expander-2.7
on perl 5.37.1, 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:

this report is from an automated smoke testing program
and was not reviewed by a human for accuracy

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

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

PERL_DL_NONLAZY=1 "/tmp/basesmoker-reloperl-CVsc/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl
1..1
# Running under perl version 5.037001 for linux
# Current time local: Fri Jul 15 04:11:58 2022
# Current time GMT:   Fri Jul 15 04:11:58 2022
# Using Test.pm version 1.31
DEBUG: expand_var: [!mode] = ()
$VAR1 = {
          'VAR::!mode' => 1
        };

DEBUG: expand_var: [!mode] = ()
$VAR1 = {
          'VAR::!mode' => 1
        };

DEBUG: expand_var: [TEST] = ()
$VAR1 = {
          'VAR::TEST' => 1
        };

DEBUG: expand_var: [TEST] = (opala!)
$VAR1 = {
          'VAR::TEST' => 1
        };

DEBUG: expand_var: [XXX] = (this XXX is <var name=LLL><p>)
$VAR1 = {
          'VAR::XXX' => 1
        };

DEBUG: expand_var: [LLL] = (low level var)
$VAR1 = {
          'VAR::XXX' => 1,
          'VAR::LLL' => 1
        };

DEBUG: expand_var: [ZZZ] = (this ZZZ is <var name=LLL><p>)
$VAR1 = {
          'VAR::ZZZ' => 1
        };

DEBUG: expand_var: [LLL] = (low level var)
$VAR1 = {
          'VAR::ZZZ' => 1,
          'VAR::LLL' => 1
        };


                      <pre>(current mode is '')</pre>
                      <p><p><h1><font color=#fff>This is me</font></h1>
                    
                      <box>(cyrrent mode is '')</box>
                      <h1><font color=>empty</font></h1>
                    1.
                    2.opala!
                    3.opala!
                    
                    <p>
                    this XXX is low level var<p>
                    <p>
                    this ZZZ is low level var<p>
                    
                    
DEBUG: expand_var: [HOME] = ()
$VAR1 = {
          'VAR::HOME' => 1
        };

Fri 15 Jul 2022 04:11:58 AM UTC

DEBUG: expand_var: [HOME] = ()
$VAR1 = {
          'INC::./test.pl' => 1,
          'VAR::HOME' => 1
        };

DEBUG: expand_var: [LLL] = (low level var)
$VAR1 = {
          'VAR::LLL' => 1,
          'INC::./test.pl' => 1
        };

DEBUG: expand_var: [LLL] = (low level var)
$VAR1 = {
          'INC::./test.pl' => 1,
          'VAR::LLL' => 1
        };

DEBUG: expand_var: [!mode] = ()
$VAR1 = {
          'VAR::!mode' => 1,
          'INC::./test.pl' => 1
        };

DEBUG: expand_var: [!mode] = ()
$VAR1 = {
          'INC::./test.pl' => 1,
          'VAR::!mode' => 1
        };

DEBUG: expand_var: [TEST] = (opala!)
$VAR1 = {
          'VAR::TEST' => 1,
          'INC::./test.pl' => 1
        };

DEBUG: expand_var: [TEST] = (opala!)
$VAR1 = {
          'INC::./test.pl' => 1,
          'VAR::TEST' => 1
        };

DEBUG: expand_var: [XXX] = (this XXX is <var name=LLL><p>)
$VAR1 = {
          'INC::./test.pl' => 1,
          'VAR::XXX' => 1
        };

DEBUG: expand_var: [LLL] = (low level var)
$VAR1 = {
          'VAR::XXX' => 1,
          'INC::./test.pl' => 1,
          'VAR::LLL' => 1
        };

DEBUG: expand_var: [ZZZ] = (this ZZZ is <var name=LLL><p>)
$VAR1 = {
          'VAR::ZZZ' => 1,
          'INC::./test.pl' => 1
        };

DEBUG: expand_var: [LLL] = (low level var)
$VAR1 = {
          'VAR::LLL' => 1,
          'INC::./test.pl' => 1,
          'VAR::ZZZ' => 1
        };

use Test;
BEGIN { plan tests => 1 };
use HTML::Expander;
use strict;

my $ex = new HTML::Expander;

$ex->{ 'WARNINGS' }++;

$ex->define_tag( 'main', '<h1><font color=>',  '<h1><font color=%c>' );
$ex->define_tag( 'main', '</font></h1>', '</font></h1>' );
$ex->mode_copy( 'new', 'main' );
$ex->define_tag( 'new', '<h1>',  '<p><h1>' );
$ex->define_tag( 'new', '<box>',  '<pre>' );
$ex->define_tag( 'new', '</box>',  '</pre>' );

$ex->define_var( 'main', 'LLL' => 'low level var' );
$ex->define_var( 'main', 'XXX' => 'this XXX is low level var<p>' );
$ex->define_var( 'main', 'ZZZ' => 'this ZZZ is low level var<p>' );

print $ex->expand( "
                      <pre>(current mode is '')</pre>
                      <p><p><h1><font color=#fff>This is me</font></h1>
                    
                      <box>(cyrrent mode is '')</box>
                      <h1><font color=>empty</font></h1>
                    1.opala!
                    2.opala!
                    3.opala!
                    
                    <p>
                    this XXX is low level var<p>
                    <p>
                    this ZZZ is low level var<p>
                    
                    \n" );
$ex->{ 'EXEC_TAG_ALLOWED' } = 1;
print $ex->expand( 'Fri 15 Jul 2022 04:11:58 AM UTC
' ), "\n";

$ex->add_inc_paths( '.' );

print $ex->expand( '' ), "\n";

print "done.";

use Data::Dumper;
print Dumper( $ex );

ok(1); # there is no bad condition check yet


done.$VAR1 = bless( {
                 'WARNINGS' => 1,
                 'EXEC_TAG_ALLOWED' => 1,
                 'TAGS' => {
                             'main' => {
                                         '</name>' => '</font></h1>',
                                         '<name>' => '<h1><font color=%c>'
                                       },
                             'new' => {
                                        '</name>' => '</font></h1>',
                                        '</box>' => '</pre>',
                                        '<h1>' => '<p><h1>',
                                        '<box>' => '<pre>',
                                        '<name>' => '<h1><font color=%c>'
                                      }
                           },
                 'INC' => {
                            '.' => 1
                          },
                 'MODE' => [],
                 'VARS' => {
                             'main' => {
                                         'LLL' => 'low level var',
                                         'XXX' => 'this XXX is <var name=LLL><p>',
                                         'ZZZ' => 'this ZZZ is <var name=LLL><p>'
                                       },
                             'new' => {}
                           },
                 'ENV' => {
                            '!MODE' => 'main',
                            'TEST' => 'opala!'
                          }
               }, 'HTML::Expander' );
ok 1

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

Prerequisite modules loaded:

build_requires:

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

configure_requires:

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


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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_US.UTF-8
    PATH = /home/sand/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/perl/bin:/usr/X11/bin
    PERL = /tmp/basesmoker-reloperl-CVsc/bin/perl
    PERL5LIB = /tmp/loop_over_bdir-2019315-GKVEE8/Dpkg-1.21.9-0/blib/arch:/tmp/loop_over_bdir-2019315-GKVEE8/Dpkg-1.21.9-0/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 2019324
    PERL5_CPAN_IS_RUNNING = 2019324
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/bin/zsh
    TERM = screen

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

    $^X = /tmp/basesmoker-reloperl-CVsc/bin/perl
    $UID/$EUID = 1005 / 1005
    $GID = 1005 1005
    $EGID = 1005 1005

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.34    
    CPAN::Meta          2.150010
    Cwd                 3.85    
    ExtUtils::CBuilder  0.280237
    ExtUtils::Command   7.64    
    ExtUtils::Install   2.20    
    ExtUtils::MakeMaker 7.64    
    ExtUtils::Manifest  1.73    
    ExtUtils::ParseXS   3.45    
    File::Spec          3.85    
    JSON                4.07    
    JSON::PP            4.10    
    Module::Build       0.4231  
    Module::Signature   0.88    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.44    
    Test::More          1.302191
    YAML                1.30    
    YAML::Syck          1.34    
    version             0.9929  


--

Summary of my perl5 (revision 5 version 37 subversion 1) configuration:
  Commit id: a33f7527640f5a662130b55a9fc8c2302b3b38f6
  Platform:
    osname=linux
    osvers=5.4.0-121-generic
    archname=x86_64-linux
    uname='linux k93focal 5.4.0-121-generic #137-ubuntu smp wed jun 15 13:33:07 utc 2022 x86_64 x86_64 x86_64 gnulinux '
    config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.37.1/b254 -Dmyhostname=k93focal -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Uuseithreads -Uuselongdouble -DEBUGGING=both'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
  Compiler:
    cc='cc'
    ccflags ='-fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    optimize='-O2 -g'
    cppflags='-fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='9.4.0'
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=12345678
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=3
    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-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/x86_64-linux-gnu /usr/lib /usr/lib64
    libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.31.so
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.31'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,-E'
    cccdlflags='-fPIC'
    lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    DEBUGGING
    HAS_TIMES
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_DEVEL
    PERL_USE_SAFE_PUTENV
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
  Built under linux
  Compiled at Jul 13 2022 19:48:21
  %ENV:
    PERL="/tmp/basesmoker-reloperl-CVsc/bin/perl"
    PERL5LIB="/tmp/loop_over_bdir-2019315-GKVEE8/Dpkg-1.21.9-0/blib/arch:/tmp/loop_over_bdir-2019315-GKVEE8/Dpkg-1.21.9-0/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="2019324"
    PERL5_CPAN_IS_RUNNING="2019324"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /tmp/loop_over_bdir-2019315-GKVEE8/Dpkg-1.21.9-0/blib/arch
    /tmp/loop_over_bdir-2019315-GKVEE8/Dpkg-1.21.9-0/blib/lib
    /home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.37.1/b254/lib/site_perl/5.37.1/x86_64-linux
    /home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.37.1/b254/lib/site_perl/5.37.1
    /home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.37.1/b254/lib/5.37.1/x86_64-linux
    /home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.37.1/b254/lib/5.37.1
    .