H
humphrey.c.chan
Hello,
I am a beginner in Perl programming. Currently, I am using Perl
5.005_03 in my Solaris 8 server.
I am getting the following error message when running my program :
Can't find string terminator "EOM" anywhere before EOF at ./my-prog.pl
line 107.
Here's my program excerpt -->>
:
:
105 open (MAIL, "| /usr/lib/sendmail -oi -t");
106 select(MAIL);
107 print <<EOM;
108 From: (e-mail address removed)
109 To: (e-mail address removed)
110
111 Subject: Alert !! Alert !!
112
113
114 Please check the system
115 at your earliest convenience......
116
117 PS: You know who you arev !!
118
119
120 EOM
Plesae help me to resolve the problem.
Thanks
Humphrey
I am a beginner in Perl programming. Currently, I am using Perl
5.005_03 in my Solaris 8 server.
I am getting the following error message when running my program :
Can't find string terminator "EOM" anywhere before EOF at ./my-prog.pl
line 107.
Here's my program excerpt -->>
:
:
105 open (MAIL, "| /usr/lib/sendmail -oi -t");
106 select(MAIL);
107 print <<EOM;
108 From: (e-mail address removed)
109 To: (e-mail address removed)
110
111 Subject: Alert !! Alert !!
112
113
114 Please check the system
115 at your earliest convenience......
116
117 PS: You know who you arev !!
118
119
120 EOM
Plesae help me to resolve the problem.
Thanks
Humphrey