erro em /usr/share/perl5/iCal/Parser/HTML.pm no debian

1

como consertar isso? quando eu digito perl /usr/share/perl5/iCal/Parser/HTML.pm i get

syntax error at /usr/share/perl5/iCal/Parser/HTML.pm line 64, near "$t qw(week month year)" Global symbol "$t" requires explicit package name at /usr/share/perl5/iCal/Parser/HTML.pm line 65. Global symbol "$date" requires explicit package name at /usr/share/perl5/iCal/Parser/HTML.pm line 65. Global symbol "$t" requires explicit package name at /usr/share/perl5/iCal/Parser/HTML.pm line 65. Global symbol "%args" requires explicit package name at /usr/share/perl5/iCal/Parser/HTML.pm line 67. Global symbol "$date" requires explicit package name at /usr/share/perl5/iCal/Parser/HTML.pm line 67. Global symbol "%args" requires explicit package name at /usr/share/perl5/iCal/Parser/HTML.pm line 68. Global symbol "$url" requires explicit package name at /usr/share/perl5/iCal/Parser/HTML.pm line 68. Global symbol "%args" requires explicit package name at /usr/share/perl5/iCal/Parser/HTML.pm line 69. syntax error at /usr/share/perl5/iCal/Parser/HTML.pm line 70, near "}" /usr/share/perl5/iCal/Parser/HTML.pm has too many errors.

    
por lrnz 06.03.2014 / 14:36

1 resposta

1

houve um erro de sintaxe em /usr/share/perl5/iCal/Parser/HTML.pm . a seguinte linha

foreach my $t qw(week month year) {

tem que se parecer com isso

foreach my $t (qw(week month year)) {

agora tudo funciona bem.

    
por 07.03.2014 / 07:31