What FunkyMonk was getting to is that printing a carriage return ("\r") causes the cursor to move to the first column on many terminals. We suspect the value of $wrds[13] contains that character.
>perl -le"print qq{abcdef\rghi}" ghidef
Unfortunately I could not try Data::Dump
Why not?
In reply to Re^3: understanding print
by ikegami
in thread understanding print
by pdeshpan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |