Appending a prefix when using join in Perl

Posted by syker on Stack Overflow See other posts from Stack Overflow or by syker
Published on 2010-04-27T22:28:46Z Indexed on 2010/04/27 22:33 UTC
Read the original article Hit count: 230

Filed under:
|

I have an array of strings that I would like to use the join function on. However, I would like to prefix each string with the same string. Can I do this in one line as opposed to iterating through the array first and changing each value before using join?

© Stack Overflow or respective owner

Related posts about perl

Related posts about join