in reply to Re^2: Using split() to divide a string by length
in thread Using split() to divide a string by length

Yep, I tried with defined first because that's the way I thought it worked, too. With that, the result of mine is,

abc def ghi jkl mno pqr stu vwx yz
Note the extra spaces, indicating that there are defined empty strings instead of undefs in those positions.

Update: Good idea, ikegami++.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re^4: Using split() to divide a string by length
by ikegami (Patriarch) on Apr 13, 2006 at 21:06 UTC
    Then grep length, ... is needed.