Andrew Savige <[EMAIL PROTECTED]> wrote: > I am interested to learn the fastest and shortest way to convert a > textfile-like string to an array and back again (chopping newlines).
Not tested, but I would guess that the obvious @lines = split /\n/, $x, -1; pop @lines; might be both fastest and shortest. -- John Douglas Porter __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com