Checking if your kit is complete... Looks good Writing Makefile for PDF::ReportWriter Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cp lib/PDF/ReportWriter/Datasource/DBI.pm blib\lib\PDF\ReportWriter\Datasource\DBI.pm cp lib/PDF/ReportWriter/Report.pm blib\lib\PDF\ReportWriter\Report.pm cp lib/PDF/ReportWriter/Datasource.pm blib\lib\PDF\ReportWriter\Datasource.pm cp lib/PDF/ReportWriter.pm blib\lib\PDF\ReportWriter.pm Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. C:\cpanrun\build\5-10-0\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib\lib', 'blib\arch')" t/*.t t/000_load...........1..1 v-string in use/require non-portable at C:/cpanrun/build/5-10-0/site/lib/Image/Size.pm line 23. ok 1 - use PDF::ReportWriter; ok t/010_report.........1..13 ok 1 - use PDF::ReportWriter::Report; ok 2 - blank report object created # $rp=undef ok 3 - can't load non existent xml report file # $rp=PDF::ReportWriter::Report=HASH(0x1c3fd4c) ok 4 - loaded basic xml report file Warning: element has no '_' key attribute at C:\cpanrun\depot\main\contrib-patched\perl\CPAN\src\PDF-ReportWriter\blib\lib/PDF/ReportWriter/Report.pm line 98 Warning: element has no '_' key attribute at C:\cpanrun\depot\main\contrib-patched\perl\CPAN\src\PDF-ReportWriter\blib\lib/PDF/ReportWriter/Report.pm line 98 ok 5 - data structure loaded # $VAR1 = { # 'data' => { # 'fields' => [ # { # 'header_colour' => 'white', # 'index' => '0', # 'align' => 'left', # 'percent' => '20', # 'font_size' => '12', # 'label' => 'item' # }, # { # 'header_colour' => 'white', # 'index' => '1', # 'align' => 'left', # 'percent' => '20', # 'font_size' => '12', # 'label' => 'date' # } # ], # 'page' => { # 'footer' => [ # { # 'y' => '200', # 'index' => '0', # 'colour' => 'red', # 'percent' => '20', # 'text' => 'My Cell 1', # 'background' => { # 'colour' => 'grey', # 'shape' => 'box' # }, # 'x' => '500' # }, # { # 'y' => '100', # 'index' => '1', # 'colour' => 'yellow', # 'percent' => '20', # 'text' => 'My Cell 2', # 'background' => { # 'colour' => 'green', # 'shape' => 'box' # }, # 'x' => '200' # } # ], # 'header' => [ # {} # ] # }, # 'groups' => [ # { # 'aggregate_source' => '0', # 'name' => 'GrandTotals', # 'data_column' => '1' # }, # { # 'aggregate_source' => '0', # 'name' => 'ItemTotals', # 'data_column' => '1' # } # ], # 'cell_borders' => '1', # 'max_font_size' => '12' # }, # 'definition' => { # 'y_margin' => '20', # 'template' => 'mytemplate.pdf', # 'default_font_size' => '10', # 'destination' => 'myreport.pdf', # 'default_font' => 'Helvetica', # 'orientation' => 'landscape', # 'file' => 'basic.xml', # 'name' => 'basic', # 'font' => [ # 'Helvetica', # 'Courier' # ], # 'x_margin' => '20', # 'debug' => '0', # 'paper' => 'A4' # } # }; ok 6 - opened report object Warning: element has no '_' key attribute at C:\cpanrun\depot\main\contrib-patched\perl\CPAN\src\PDF-ReportWriter\blib\lib/PDF/ReportWriter/Report.pm line 98 Warning: element has no '_' key attribute at C:\cpanrun\depot\main\contrib-patched\perl\CPAN\src\PDF-ReportWriter\blib\lib/PDF/ReportWriter/Report.pm line 98 ok 7 - data structure loaded # $VAR1 = { # 'data' => { # 'fields' => [ # { # 'header_colour' => 'white', # 'index' => '0', # 'align' => 'left', # 'percent' => '20', # 'font_size' => '12', # 'label' => 'item' # }, # { # 'header_colour' => 'white', # 'index' => '1', # 'align' => 'left', # 'percent' => '20', # 'font_size' => '12', # 'label' => 'date' # } # ], # 'page' => { # 'footer' => [ # { # 'y' => '200', # 'index' => '0', # 'colour' => 'red', # 'percent' => '20', # 'text' => 'My Cell 1', # 'background' => { # 'colour' => 'grey', # 'shape' => 'box' # }, # 'x' => '500' # }, # { # 'y' => '100', # 'index' => '1', # 'colour' => 'yellow', # 'percent' => '20', # 'text' => 'My Cell 2', # 'background' => { # 'colour' => 'green', # 'shape' => 'box' # }, # 'x' => '200' # } # ], # 'header' => [ # {} # ] # }, # 'groups' => [ # { # 'aggregate_source' => '0', # 'name' => 'GrandTotals', # 'data_column' => '1' # }, # { # 'aggregate_source' => '0', # 'name' => 'SubTotals', # 'data_column' => '1' # } # ], # 'cell_borders' => '1', # 'max_font_size' => '12' # }, # 'definition' => { # 'info' => { # 'ModDate' => '2006-03-13', # 'Subject' => 'A sample report', # 'CreationDate' => '2006-03-13', # 'Creator' => 'PDF::ReportWriter', # 'Title' => 'The sample report title', # 'Keywords' => 'Bla Bla Bla', # 'Author' => 'Cosimo Streppone' # }, # 'y_margin' => '20', # 'template' => 'mytemplate.pdf', # 'default_font_size' => '10', # 'destination' => 'myreport.pdf', # 'default_font' => 'Helvetica', # 'orientation' => 'landscape', # 'name' => 'sample', # 'font' => [ # 'Helvetica', # 'Courier' # ], # 'x_margin' => '20', # 'debug' => '0', # 'url' => 'sample.xml', # 'paper' => 'A4' # } # }; ok 8 - report saved ok 9 - opened output xml report ok 10 - data structure loaded # $VAR1 = { # 'data' => { # 'page' => { # 'header' => [ # {} # ], # 'footer' => [ # { # 'y' => '200', # 'index' => '0', # 'text' => 'My Cell 1', # 'percent' => '20', # 'colour' => 'red', # 'background' => { # 'colour' => 'grey', # 'shape' => 'box' # }, # 'x' => '500' # }, # { # 'y' => '100', # 'index' => '1', # 'text' => 'My Cell 2', # 'percent' => '20', # 'colour' => 'yellow', # 'background' => { # 'colour' => 'green', # 'shape' => 'box' # }, # 'x' => '200' # } # ] # }, # 'fields' => [ # { # 'header_colour' => 'white', # 'index' => '0', # 'align' => 'left', # 'percent' => '20', # 'font_size' => '12', # 'label' => 'item' # }, # { # 'header_colour' => 'white', # 'index' => '1', # 'align' => 'left', # 'percent' => '20', # 'font_size' => '12', # 'label' => 'date' # } # ], # 'groups' => [ # { # 'name' => 'GrandTotals', # 'aggregate_source' => '0', # 'data_column' => '1' # }, # { # 'name' => 'SubTotals', # 'aggregate_source' => '0', # 'data_column' => '1' # } # ], # 'cell_borders' => '1', # 'max_font_size' => '12' # }, # 'definition' => { # 'info' => { # 'ModDate' => '2006-03-13', # 'Subject' => 'A sample report', # 'CreationDate' => '2006-03-13', # 'Creator' => 'PDF::ReportWriter', # 'Author' => 'Cosimo Streppone', # 'Keywords' => 'Bla Bla Bla', # 'Title' => 'The sample report title' # }, # 'y_margin' => '20', # 'template' => 'mytemplate.pdf', # 'destination' => 'myreport.pdf', # 'default_font_size' => '10', # 'name' => 'sample', # 'orientation' => 'landscape', # 'default_font' => 'Helvetica', # 'font' => [ # 'Helvetica', # 'Courier' # ], # 'x_margin' => '20', # 'url' => 'sample.xml', # 'debug' => '0', # 'paper' => 'A4' # } # }; ok 11 - compare data structures after (de)serialization cycle ok 12 - created new report object ok 13 - empty report loaded (but is empty) # $VAR1 = { # 'data' => { # 'groups' => [] # }, # 'definition' => { # 'file' => 'empty.xml', # 'name' => 'empty', # 'font' => [ # undef # ] # } # }; ok t/011_datasources....1..10 ok 1 - use PDF::ReportWriter::Report; ok 2 - blank report object created # $rp=PDF::ReportWriter::Report=HASH(0x1baa24c) ok 3 - loaded datasources example ok 4 - loaded xml config ok 5 - loaded xml config # $VAR1 = bless( { # 'report' => './t/reports/datasources.xml', # '_config' => { # 'data' => { # 'fields' => [ # { # 'header_colour' => 'white', # 'index' => '0', # 'align' => 'left', # 'percent' => '20', # 'font_size' => '12', # 'label' => 'item' # } # ], # 'page' => { # 'footer' => [ # {} # ], # 'header' => [ # {} # ] # }, # 'groups' => [ # {} # ], # 'datasource' => [ # { # 'sql' => 'SELECT docnum,docdate,docstate FROM documents WHERE docnum = ? LIMIT 1', # 'name' => 'master', # 'type' => 'DBI' # }, # { # 'sql' => 'SELECT * FROM documents WHERE docnum = ?', # 'name' => 'detail', # 'type' => 'DBI' # } # ] # }, # 'definition' => { # 'destination' => 'myreport.pdf', # 'file' => 'datasources.xml', # 'name' => 'datasources', # 'font' => [ # undef # ], # 'paper' => 'A4' # } # } # }, 'PDF::ReportWriter::Report' ); ok 6 - data sources loaded correctly ok 7 - checks on "detail" data source ok 8 - checks on "detail" data source ok 9 - checks on "detail" data source ok 10 - checks on "detail" data source ok t/020_cell...........1..6 v-string in use/require non-portable at C:/cpanrun/build/5-10-0/site/lib/Image/Size.pm line 23. ok 1 - use PDF::ReportWriter; ok 2 - cell height of a single text row ok 3 - cell height of a single text row + whitespace ok 4 - cell height of a single text row + whitespace ok 5 - cell height of 2 text rows + whitespace ok 6 - cell height of 3 text rows + whitespace ok All tests successful. Files=4, Tests=30, 4 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. Installing C:\cpanrun\build\5-10-0\html\site\lib\PDF\ReportWriter.html Installing C:\cpanrun\build\5-10-0\html\site\lib\PDF\ReportWriter\Datasource.html Installing C:\cpanrun\build\5-10-0\html\site\lib\PDF\ReportWriter\Report.html Installing C:\cpanrun\build\5-10-0\html\site\lib\PDF\ReportWriter\Datasource\DBI.html Installing C:\cpanrun\build\5-10-0\site\lib\PDF\ReportWriter.pm Installing C:\cpanrun\build\5-10-0\site\lib\PDF\ReportWriter\Datasource.pm Installing C:\cpanrun\build\5-10-0\site\lib\PDF\ReportWriter\Report.pm Installing C:\cpanrun\build\5-10-0\site\lib\PDF\ReportWriter\Datasource\DBI.pm Appending installation info to C:\cpanrun\build\5-10-0\lib/perllocal.pod