Hallo,erst mal bin neu was Perl angeht...
Habe versucht den Perlator von der ct einzurichten. Soweit hab ich auch alles hinbekommen.
In der Anleitung steht das beim Calendar eine Exportfunktion fehlt und man diese von Hand eintragen soll:
our %EXPORT_TAGS = ( 'all' => [ qw(
generic_calendar calendar $week_start_day) ] );
(http://www.heise.de/ct/projekte/machmit/perlator/wiki/InstallationKonfiguration)
"generic_calendar" is not exported by the Calendar::Calendar module
Can't continue after import errors at /home/me/workspace/Perlator_Webpage/perlator.pl line 22
Wollte das auch machen, konnte aber in der Datei Calendar.pm nix entsprechendes gefundne. Die Datei sieht wie folgt aus (Auszug)
BEGIN { eval { require bytes; }; }
use strict;
use vars qw( @ISA @EXPORT @EXPORT_OK $VERSION );
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw();
@EXPORT_OK = qw();
$VERSION = '5.4';
Habe jetzt versucht das wie folgt einzubinden, leider ohne Erfolg.
BEGIN { eval { require bytes; }; }
use strict;
use vars qw( @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $VERSION );
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw();
@EXPORT_OK = qw();
our %EXPORT_TAGS = ( 'all' => [qw(generic_calendarCalendar $week_start_day) ] );
$VERSION = '5.4';
Habe es auch ohne "our" vor %EXPORT_TAGS versucht, funktioniert auch nicht. Fehlermeldung ist immer:
"generic_calendar" is not exported by the Calendar::Calendar module
Can't continue after import errors at /home/me/workspace/Perlator_Webpage/perlator.pl line 22Hat irgendjemand eine Idee wie ich das beheben/richtig einbinden kann?
Fehlen noch Infos?
Gruß
PP
Datum: 20.02.2008-04:03
