while ($requests = <REQUESTS>) { chomp $requests; #remove any endline characters #if all endline characters are wiped, #check for nothingness if ($requests ne "") { # add newline for lines we're printing print MAIL "$requests\n"; } }
In reply to Re: Re: removing carriage returns
by RMGir
in thread removing carriage returns
by chrisbarton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |