you can try $my_job .= $data."\n"; the dot before the equal adds data at the end of the string. The ."\n" adds a new line for each new data string.
Update: Also add this before you use sendmail for security $ENV{PATH} = '';
In reply to Re: More loop issues
by $h4X4_|=73}{
in thread More loop issues
by htmanning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |