You can do that already in perl 5:<p><pre><code>    &gt; perl -E &#x27;my $i = 1; say &quot;@{[ sin $i ]}&quot;;&#x27;
    0.841470984807897
</code></pre>
perl 6 will improve things, it has a huge feature set.