OSDN Git Service

Perl5.26以降対応。
authorkgsoft <kgsoft@users.osdn.me>
Mon, 15 Jan 2018 10:19:46 +0000 (10:19 +0000)
committerkgsoft <kgsoft@users.osdn.me>
Mon, 15 Jan 2018 10:19:46 +0000 (10:19 +0000)
plugin/pdf/PDFParser.pm

index 6cbb3ac..1d93eb5 100644 (file)
@@ -302,7 +302,7 @@ sub l_table {
        my @blocks;
        
        foreach my $cell (@$row){
-               if($#{@$cell}==-1){
+               if($#{$cell}==-1){
                        push(@$cell,Text("--",$self->{tstyle}->{normal}));
                }
                my $block = Block('V',Paragraph(Text($cell,$self->{tstyle}->{normal}),$pstyle),