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.
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.
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.
Tags perl html parsing calendar.app