ssimms / pdfapi2

Create, modify, and examine PDF files in Perl
Other
15 stars 20 forks source link

PDF::API2::Content doc mistake #43

Closed sciurius closed 2 years ago

sciurius commented 2 years ago

At TEXT STATE, the example reads

my $pdf = PDF::API2->new();
my $page = $pdf->page();
my $text = $pdf->text();

The last line needs to be

my $text = $page->text();