Hi,
I am new to perl and am going through the dev manual. I am attempting to write the Notify Module in section 7.2 of the manual. I followed the code exactly in the book except I am confused because there is a section in the new subroutine that looks like this "[...]", minus the quotes. What am I supposed to include their? I am having an issue when I try and log onto OTRS and I receive the error below:
Software error:
Undefined subroutine &Kernel::Output::HTML::NotificationMotd::new called at C:\OTRS\otrs\/Kernel/Output/HTML/Layout.pm line 1972.
For help, please send mail to the webmaster (admin(a)your-domain.com <mailto:admin@your-domain.com> ), giving this error message and the time and date of the error.
My guess is that since I didn't include anything in the new subroutine of the NotficationMotd.pm file is the cause of my error. I just don't know how to procede.
Any help is greatly appreciated.
Dan King
Software Developer
Canadian Resident Matching Service
613.237.0075 ext. 241
(Toll free) 877.CARMS.42
171 Nepean Street, Suite 300
Ottawa, ON, CAN K2P 0B4
www.carms.ca <http://www.carms.ca>
------------------------------------------------------------------------------------
This e-mail message, including any attachments, is for the sole use of the intended recipients and may contain confidential and or privileged information. If you are not the intended recipient or this information has been forwarded in error, please contact the sender by reply e-mail and destroy copies of the original message. Ce message (incluant toute pièce jointe) s'adresse uniquement au(x) destinataire(s) prévu(s) ou à une personne autorisée à le recevoir en son (leur) nom. Il pourrait contenir des renseignements confidentiels ou protégés. Si vous l'avez reçu par erreur, nous vous prions d'en informer l'auteur dans les meilleurs délais, de ne pas divulguer son contenu et de le supprimer de votre système. Merci.