On Fri, 7 Feb 2003, A. Pagaltzis wrote:
> * John Douglas Porter <[EMAIL PROTECTED]> [2003-02-07 14:50]:
> 
> >   join "\n", @lines, $tail;
> 
> Unfortunately, that won't work either - regardless of the
> value of $tail - even undef -, you are joining an extra
> element onto the string.

Yes it does work.  Try it.  Remember, $tail _cannot_ be undefined, since
it was returned by split().  @lines _can_ be empty, but that case works
as it should.

-- 
Ilmari Karonen
http://www.sci.fi/~iltzu/

Reply via email to