MayFlowerNew
Programmer
I have following code
/usr/lib/sendmail -oi -t <<EOF
To:=abc@xyz.com;
Subject: abc
test
EOF
But I get this weird error
Bareword found where operator expected at abc.pl line 124, near "/usr/lib"
(Missing operator before lib?)
syntax error at abc.pl line 124, near "/usr/lib"
In string, @xyz now must be written as \@xyz at abc.pl line 124, near "To:=abc@xyz"
Execution of abc.pl aborted due to compilation errors.
Please help
Thanks
/usr/lib/sendmail -oi -t <<EOF
To:=abc@xyz.com;
Subject: abc
test
EOF
But I get this weird error
Bareword found where operator expected at abc.pl line 124, near "/usr/lib"
(Missing operator before lib?)
syntax error at abc.pl line 124, near "/usr/lib"
In string, @xyz now must be written as \@xyz at abc.pl line 124, near "To:=abc@xyz"
Execution of abc.pl aborted due to compilation errors.
Please help
Thanks