Skip to content

Can't use an undefined value as an ARRAY reference at /home/ubuntu/perl5/lib/perl5/PDF/Builder.pm line 2923. #12

@szabgab

Description

@szabgab

After cloning the repository I tried to extend the the t/002_basic.t test and added a second call to content after the first one.

ok($pdf->content, "Some PDF content produced");
my $output = $pdf->content;

Running the tests I got the following exception:

t/002_basic.t .. 
1/1 Can't use an undefined value as an ARRAY reference
at /home/ubuntu/perl5/lib/perl5/PDF/Builder.pm line 2923.
# Looks like your test exited with 9 just after 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions