Data-Reporter
    
    
  
  
  
view release on metacpan or search on metacpan
Reporter.pm view on Meta::CPAN
=item
$report->width()	Report's width
=item
$report->height()	Report's height
=item
$report->islastbreak()	Returns true if it's the last processing break (using the cascade breaks approach)
=item
$report->iPB()	Returns true if the reporter is processing breaks (useful when you want or not to do something while processing breaks)
=item
$report->newpage([TIMES])	indicates that a new page is required. TIMES is the number of form feeds to do. By default is 1
=item
Reporter.pm view on Meta::CPAN
 ...
 $sheet->Print("the sum is $sum");
 $sum = 0; #reset $sum
 ...
As many breaks as necessary can be defined, but only one break per field is allowed.
=item CASCADE BREAKS
When defining more that one Break, they are handled in cascade. A change in a break field will cause all the break functions defined for fields with a lower value to be called. For example
assume the following data
 1 2 3 1 1
 1 2 3 1 2
 1 2 4 2 3
 1 3 4 2 4
and the following break hash
( run in 0.562 second using v1.01-cache-2.11-cpan-5dc5da66d9d )