Re: control structure query ...

Discussion in 'Perl' started by Jürgen Exner, Jan 15, 2010.

  1. [comp.lang.perl has been replaced by the whole
    comp.lang.perl.*-hierarchy a long long time ago. Forwarding to CLP.misc
    where this question is much better suited]

    I have a very(!) hard time reading your text. What of that are typos and
    what do you actually mean? What e.g. is a "tiring insisting onsisting"?
    Or a "structure sable"?

    The way I am reading your question you got a list and you want to
    convert it into a string where the list elements are connected by a
    specific character.
    No need for any loop control structure at all, just use join(), details
    see 'perldoc -f join':
    join EXPR,LIST
    Joins the separate strings of LIST into a single string with
    fields separated by the value of EXPR [...]

    Jürgen Exner, Jan 15, 2010
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.