So then I add chomp(@IPLIST); before my loop, and the output becomes this:
Then the file probably contained
111.111.111.111<something><NL> 222.222.222.222<something><NL>
where <something> is interpreted by the terminal as some sort of command sequence.
In reply to Re: chomp removes everything *except* the newline?
by ikegami
in thread chomp removes everything *except* the newline?
by follier
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |