in reply to Re^2: How can I print hash content to pdf file ?
in thread How can I print hash content to pdf file ?
If you need to supply coordinates, why don't you supply them when you print in your loop?
Try maybe printing stuff into separate lines?
my $offset = 300; for my $line (@names) { $pdf->text( "Hello PERL", x => 300, y => $offset ); $offset = $offset + 50; # move to "next line" };
I chose 50 by random, maybe you want 12 (points) or 24.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How can I print hash content to pdf file ?
by vkk05 (Initiate) on Dec 10, 2017 at 11:31 UTC | |
by Corion (Patriarch) on Dec 10, 2017 at 11:51 UTC |