hi
I have a perl script from which I call a shell script and pass mail variable to it.
The mail works fine if I give 1 recipient but fails for multiple.
conv.pl:-
$mialing = "anu\@abc.com"
rest.sh $mialing
rest.sh
mail -s "hi" $1
This works fine
But I need to define multiple recipents in mailing variable.
like
$mialing = "anu\@abc.com anu2\@abc.com anu3\@abc.com"
space does not work.
Please help how to define this
Thanks