in reply to Re^2: Rotating a (PDF:::Table) Page Help!
in thread Rotating a (PDF:::Table) Page Help!
the parameter 'new_page_func' must be a function reference
This means, you need to pass it either the name of a subroutine, or an anonymous subroutine
which when executed will create a new page
... so said subroutine must create a new page. Maybe something like the following, but bear in mind that I have no idea of how to use PDF::Table:
new_page_func => sub { my ($pdf) = @_; # I don't know whether that's the parameter pa +ssed to this warn "Creating new page"; my $page = $pdf->page; # see PDF::API2 for pages ... do funky stuff with $page .... $page },
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Rotating a (PDF:::Table) Page Help!
by Anonymous Monk on Mar 31, 2009 at 19:26 UTC | |
by Corion (Patriarch) on Mar 31, 2009 at 19:31 UTC | |
by Anonymous Monk on Mar 31, 2009 at 19:32 UTC | |
by Corion (Patriarch) on Mar 31, 2009 at 19:45 UTC | |
by Anonymous Monk on Mar 31, 2009 at 20:00 UTC | |
|