| CAM-PDF documentation | Contained in the CAM-PDF distribution. |
CAM::PDF::Node - PDF element
my $node = CAM::PDF::Node->new('number', 1.0);
This is a simplistic internal class for representing arbitrary PDF data structures.
Same as CAM::PDF
Create a new PDF element.
See CAM::PDF
| CAM-PDF documentation | Contained in the CAM-PDF distribution. |
package CAM::PDF::Node; use 5.006; use warnings; use strict; our $VERSION = '1.55';
sub new { my $pkg = shift; my $self = { type => shift, value => shift, }; my $objnum = shift; my $gennum = shift; if (defined $objnum) { $self->{objnum} = $objnum; } if (defined $gennum) { $self->{gennum} = $gennum; } return bless $self, $pkg; } 1; __END__