MayFlowerNew
Programmer
HI all,
I have written following code..
/usr/lib/sendmail -oi -t <<EOF
To: abc@xyz.com
Subject: test
test
EOF
But I get this error..
Bareword found where operator expected at aaa.pl line 127, near "/usr/lib"
(Missing operator before lib?)
syntax error at aaa.pl line 127, near "/usr/lib"
In string, @xyz now must be written as \@xyz at aaa.pl line 127, near "To: abc@xyz"
I am a newbie, please help
Thanks
I have written following code..
/usr/lib/sendmail -oi -t <<EOF
To: abc@xyz.com
Subject: test
test
EOF
But I get this error..
Bareword found where operator expected at aaa.pl line 127, near "/usr/lib"
(Missing operator before lib?)
syntax error at aaa.pl line 127, near "/usr/lib"
In string, @xyz now must be written as \@xyz at aaa.pl line 127, near "To: abc@xyz"
I am a newbie, please help
Thanks