note
zdog
<p>Try this:</p>
<code>print join( ":", "dog", "day", "afternoon" );</code>
<p>The first argument <tt>join()</tt> takes is the expression with which you want to connect the list. In this case, you want to pass a string rather than a regular expression (or whatever <code>/:/</code> turns out to be).</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-16202">
<p>Zenon Zabinski | [id://16202] | zdog@perlmonk.org<br>
</div></div>
390699
390699