in reply to Re: Test::More::is_deeply apparently ignoring an argument?
in thread Test::More::is_deeply apparently ignoring an argument?

is_deeply(scalar $pdf->adjust_to_bounding_box($main_image), undef, "adjust_to_bounding_box returns on no second param" ); # test
And that checks the scalar return value. If you want to check the list return value separately:
is_deeply([$pdf->adjust_to_bounding_box($main_image)], [], "adjust_to_bounding_box returns on no second param (list con +text)" ); # test

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.