in reply to Re^2: Format text problem
in thread Format text problem

Hi,

It worked perfectly. Oh, thank you so much.

Can you explain to me what the "join" portion of the code is doing?

Thanks for your help.

Replies are listed 'Best First'.
Re^4: Format text problem
by ikegami (Patriarch) on Apr 02, 2005 at 20:59 UTC

    join($sep, $string1, $string2, $string3)
    is the same thing as
    $string1 . $sep . $string2 . $sep . $string

    In other words, it takes a list and/or array of strings, and combines them into one long string. The first argument is a seperator. It's inserted bewteen every string in the list. The core perl functions (including join) are documented in perlfunc.

      Hi,

      Thanks.

        FYI: Your node is node #444444.