Ta for that
OeufMayo I've used formats for reports but they become very unwieldy with complicated wide reports with multiple variable blocks and sub totals etc.
I think Data::Reporter::RepFormat is a reasonable choice, but - if only it worked :-)
the following the following code falls in a heap
#!/usr/local/bin/perl -w
use strict;
use Data::Reporter::RepFormat;
my $sheet = new Data::Reporter::RepFormat(124,10)
or die "Wouldn't let me";
$sheet->Move(120,0);
$sheet->Print('TEST');
$sheet->MVPrint(0,1,'Next line at start');
$sheet->Move(0,2);
print "Report has ", $sheet->Nlines()," lines\n";
$sheet->Out();
Falls over in a horrible heap with
Report has 3 lines
Can't locate object method "Out" via package "RepFormatPtr"
at /home/jonathan/Reportformat.test line 12.
From my reading of the pod I'd expect the above to work and print the report to STDOUT. Doh!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.