Ok, in an area of Perl that I don't know well.
I am trying to add header/footer material around the calendar using CGI::SSI to call some php files.
But I'm getting a conflict between the variable "Config" defined in calendarscript and there must be one in CGI::SSI.
I get the error message:
quote:
ERROR PROCESSING TEMPLATE
There was an error in your template file. Below is the template file and also the perl code generated from it to help you with debugging.Global symbol "%Config" requires explicit package name at /System/Library/Perl/5.8.1/Time/Local.pm line 27. BEGIN not safe after errors--compilation aborted at /System/Library/Perl/5.8.1/Time/Local.pm line 38. Compilation failed in require at /Library/Perl/5.8.1/Date/Format.pm line 47. BEGIN failed--compilation aborted at /Library/Perl/5.8.1/Date/Format.pm line 47. Compilation failed in require at /Library/Perl/5.8.1/CGI/SSI.pm line 9. BEGIN failed--compilation aborted at /Library/Perl/5.8.1/CGI/SSI.pm line 9. Compilation failed in require at rjcheader.pl line 3. BEGIN failed--compilation aborted at rjcheader.pl line 3. Compilation failed in require at (eval 1) line 56.
How do I make them play nicely together? I have tried replacing the references in the template to Config with main::Config, but that was not enough (and where my Perl knowledge ran out)
Thanks,
Mike
[This message has been edited by Zim (edited March 19, 2004).]
[This message has been edited by Zim (edited March 19, 2004).]