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

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

<channel>
<title><![CDATA[Perl 6: WITCH lpointy]]></title>
<link>http://www.perlfoundation.org/perl6/index.cgi?witch_lpointy</link>
<description></description>
<pubDate>Tue, 24 Feb 2009 02:49:03 -0000</pubDate>
<webMaster>synedra@gmail.com</webMaster>
<generator>Socialtext Workspace v2.14.7.2</generator>

<item>
<title><![CDATA[WITCH lpointy]]></title>
<link>http://www.perlfoundation.org/perl6/index.cgi?witch_lpointy</link>
<description><![CDATA[<div class="wiki">
<h1 id="mnemonics">Mnemonics</h1>
<p>
&quot;<em>arrow</em>&quot;, &quot;<em>less</em>&quot;, sideways &quot;<em>V</em>&quot; for &quot;<em>values</em>&quot;</p>
<ul>
<li>has multiple uses</li>
<li>for &lt;&lt; see « instead</li>
</ul>
<hr />
<h1 id="used_alone">Used alone</h1>
<ul>
<li>&lt; as an infix operator performs a <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S03.html#Chained_comparisons">comparison<!-- wiki-renamed-hyperlink "comparison"<http://perlcabal.org/syn/S03.html#Chained_comparisons> --></a></li>
</ul>
<h1 id="used_as_a_brace_pair_or_quote_pair">Used as a brace pair or quote pair</h1>
<ul>
<li>&lt;&gt; is shorthand for the qw <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S03.html#Changes_to_Perl_5_operators">quoted array constructor<!-- wiki-renamed-hyperlink "quoted array constructor"<http://perlcabal.org/syn/S03.html#Changes_to_Perl_5_operators> --></a>, providing string context</li>
<li>&lt;&gt; can &quot;treat things as a hash&quot;, providing an uninterpolated string context as was the default in perl5. (e.g. %hash&lt;value&gt;)</li>
<li>&lt;&gt; can be used in adverbial pair constructors in place of {}, providing uninterpolated string context (e.g. :key&lt;value&gt;)</li>
</ul>
<h1 id="operators_containing_this_character">Operators containing this character</h1>
<ul>
<li>&lt;= is a <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S03.html#Chained_comparisons">comparison<!-- wiki-renamed-hyperlink "comparison"<http://perlcabal.org/syn/S03.html#Chained_comparisons> --></a>. Note this means there is no assignment mutation.</li>
<li>~&lt; +&lt; and ?&lt; left <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S03.html#Changes_to_Perl_5_operators">bitwise shifts<!-- wiki-renamed-hyperlink "bitwise shifts"<http://perlcabal.org/syn/S03.html#Changes_to_Perl_5_operators> --></a></li>
<li>&lt;== or &lt;&lt;== a <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S03.html#Feed_operators">feed operator<!-- wiki-renamed-hyperlink "feed operator"<http://perlcabal.org/syn/S03.html#Feed_operators> --></a> («== is not)</li>
<li>$&lt; <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S02.html#Names">a twigil<!-- wiki-renamed-hyperlink "a twigil"<http://perlcabal.org/syn/S02.html#Names> --></a>, shorthand for using named matches.</li>
</ul>
<h1 id="when_used_in_a_regular_expression">When used in a regular expression</h1>
<ul>
<li>&lt; Introduces a <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S05.html#Subrule_captures">subrule<!-- wiki-renamed-hyperlink "subrule"<http://perlcabal.org/syn/S05.html#Subrule_captures> --></a></li>
<li>&lt;( The <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S05.html#Extensible_metasyntax_%28%3C...%3E%29">start of a result<!-- wiki-renamed-hyperlink "start of a result"<http://perlcabal.org/syn/S05.html#Extensible_metasyntax_%28%3C...%3E%29> --></a></li>
<li>&lt;&gt; Introduces <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S05.html#Extensible_metasyntax_%28%3C...%3E%29">extensible metasyntax<!-- wiki-renamed-hyperlink "extensible metasyntax"<http://perlcabal.org/syn/S05.html#Extensible_metasyntax_%28%3C...%3E%29> --></a></li>
</ul>
<h1 id="other_uses">Other uses</h1>
<ul>
<li>&lt;&lt; can be used as a &quot;Texas Quote&quot;, a substitute for « (<a href="http://www.perlfoundation.org/perl6/index.cgi?witch_lfrench" title="(64 months)  Mnemonics fast arrow , double arrow Hyperoperators transcend operators, as this unicode character t...">left french quote<!-- wiki-renamed-link WITCH lfrench --></a>) in environments where unicode source code is undesireable. See that character's page.</li>
<li>&quot;<em>prefix:&lt;&gt;</em>&quot; &quot;<em>postfix:&lt;&gt;</em>&quot; &quot;<em>infix:&lt;&gt;</em>&quot; The <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S02.html#Names">extended identifier<!-- wiki-renamed-hyperlink "extended identifier"<http://perlcabal.org/syn/S02.html#Names> --></a> of an operator.</li>
</ul>
<h1 id="old_deprecated_or_other_language_uses">Old, deprecated, or other language uses</h1>
<ul>
<li>&lt;&lt; is bitwise shift in many languages including perl5. That is now +&lt;, ~&lt;, or ?&lt;</li>
<li>(?&lt; in perl5 introduced some regular expression extension syntax. Those have all changed drastically.</li>
</ul>
</div>
]]></description>
<author>Brian Julin</author>
<guid isPermaLink="true">http://www.perlfoundation.org/perl6/index.cgi?witch_lpointy</guid>
<pubDate>Tue, 24 Feb 2009 02:49:03 -0000</pubDate>
</item>

</channel>
</rss>