in reply to Re^5: splitting a sequence using unpack
in thread splitting a sequence using unpack
True, but I habitually have $\ set to \n, the snippet I posted prints 3 chars per line, not a single long line as both your's would do.
I didn't think of it being an optimisation either. Just when I want to print a substring of a string, I tend to think of substr.
|
|---|