Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
.IO.words is a little more idiomatic
  • Loading branch information
MattOates committed Oct 4, 2015
1 parent dd78e8a commit 7973405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/index.html
Expand Up @@ -57,7 +57,7 @@ <h3 class="h2 trim-top">Jump in!</h3>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="samp-basic">
<div class="highlight"><pre><span class="k">for</span> <span class="nb">IO</span>(<span class="s">&#39;dict.txt&#39;</span>).<span class="n">words</span> -&gt; <span class="nv">$word</span> {
<div class="highlight"><pre><span class="k">for</span> <span class="s">&#39;dict.txt&#39;</span>.<span class="nb">IO</span>.<span class="n">words</span> -&gt; <span class="nv">$word</span> {
<span class="nb">say</span> <span class="s">&quot;$word probably rhymes with Perl&quot;</span>
<span class="k">if</span> <span class="nv">$word</span> ~~<span class="sr"> /[ea?|u|i] rl $/</span>;

Expand Down

0 comments on commit 7973405

Please sign in to comment.