<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title><![CDATA[Perl 6: WITCH star]]></title>
<link>http://www.perlfoundation.org/perl6/index.cgi?witch_star</link>
<description></description>
<pubDate>Tue, 23 Feb 2010 00:47:52 -0000</pubDate>
<webMaster>synedra@gmail.com</webMaster>
<generator>Socialtext Workspace v2.14.7.2</generator>

<item>
<title><![CDATA[WITCH star]]></title>
<link>http://www.perlfoundation.org/perl6/index.cgi?witch_star</link>
<description><![CDATA[<div class="wiki">
<h1 id="mnemonics">Mnemonics</h1>
<p>
&quot;splat&quot;, &quot;dont care&quot;, &quot;whatever&quot;</p>
<p>
 -- used when you do not care or want a sensible &quot;largest default&quot;</p>
<hr />
<h1 id="used_alone">Used alone</h1>
<p>
<span class="nlw_phrase">*<!-- wiki: {{*}} --></span> can be used like you always have, for multiplication<br />
<span class="nlw_phrase">*<!-- wiki: {{*}} --></span> just about anywhere else, is means <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S02.html#Built-In_Data_Types">whatever<!-- wiki-renamed-hyperlink "whatever"<http://perlcabal.org/syn/S02.html#Built=-In_Data_Types> --></a><br />
<span class="nlw_phrase">*<!-- wiki: {{*}} --></span> within a <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S11.html#Versioning">version number<!-- wiki-renamed-hyperlink "version number"<http://perlcabal.org/syn/S11.html#Versioning> --></a> functions as a wildcard<br />
<span class="nlw_phrase">*<!-- wiki: {{*}} --></span> in a switch statement when clause is a synonym for <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S04.html#Switch_statements">default<!-- wiki-renamed-hyperlink "default"<http://perlcabal.org/syn/S04.html#Switch_statements> --></a></p>
<h1 id="as_a_twigil">As a twigil</h1>
<p>
<span class="nlw_phrase">*<!-- wiki: {{*}} --></span> between a sigil and its identifier name denotes a <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S02.html#Names_and_Variables">contextualized variable<!-- wiki-renamed-hyperlink "contextualized variable"<http://perlcabal.org/syn/S02.html#Names_and_Variables> --></a>, which is searched for in the nearest dynamic scope (including the processes environment, if not found sooner)</p>
<h1 id="operators_containing_this_character">Operators containing this character</h1>
<p>
<span class="nlw_phrase">*=<!-- wiki: {{*=}} --></span> <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S03.html#Assignment_operators">mutant assignment<!-- wiki-renamed-hyperlink "mutant assignment"<http://perlcabal.org/syn/S03.html#Assignment_operators> --></a> form of multiplication<br />
<span class="nlw_phrase">** and **=<!-- wiki: {{** and **=}} --></span> can be used like you always have, for exponentiation<br />
<span class="nlw_phrase">**<!-- wiki: {{**}} --></span> just about anywhere else is a multidimensional whatever (see above)<br />
<span class="nlw_phrase">.*<!-- wiki: {{.*}} --></span> <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S03.html#Method_postfix_precedence">calls all methods<!-- wiki-renamed-hyperlink "calls all methods"<http://perlcabal.org/syn/S03.html#Method_postfix_precedence> --></a> if there are duplicate method names<br />
<span class="nlw_phrase">[*-1]<!-- wiki: {{[*-1]}} --></span> as an array index not special syntax but is legal use of &quot;whatever&quot; to get at the last element of an array.</p>
<h1 id="when_used_inside_regexes">When used inside regexes</h1>
<p>
<span class="nlw_phrase">* and *?<!-- wiki: {{* and *?}} --></span> as a &quot;0 or more&quot; repeat count<br />
<span class="nlw_phrase">** and **?<!-- wiki: {{** and **?}} --></span> is the new <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S05.html#Bracket_rationalization">general repetition specifier<!-- wiki-renamed-hyperlink "general repetition specifier"<http://perlcabal.org/syn/S05.html#Bracket_rationalization> --></a> (takes the place of {N.M})</p>
<h1 id="other_uses">Other Uses</h1>
<p>
<span class="nlw_phrase">*<!-- wiki: {{*}} --></span> in a prototype designates an array or hash as <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S06.html#List_parameters">slurpy<!-- wiki-renamed-hyperlink "slurpy"<http://perlcabal.org/syn/S06.html#List_parameters> --></a></p>
<h1 id="hyper_operator_and_meta_operator_restrictions">Hyper operator and meta operator restrictions</h1>
<p>
Generally as the core operator in any meta or hyper operator, * takes its multiplicative meaning.</p>
<h1 id="old_deprecated_or_other_language_uses">Old, deprecated, or other language uses</h1>
</div>
]]></description>
<author>Samuel Harrington</author>
<guid isPermaLink="true">http://www.perlfoundation.org/perl6/index.cgi?witch_star</guid>
<pubDate>Tue, 23 Feb 2010 00:47:52 -0000</pubDate>
</item>

</channel>
</rss>