in reply to How to count the number of columns in a line

sniff... homework?

Please see How do I post a question effectively?. Your code looks good so far.

What should be looked for in the for loop?

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.