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

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

<channel>
<title><![CDATA[Perl 6: witch_littlep]]></title>
<link>http://www.perlfoundation.org/perl6/index.cgi?witch_littlep</link>
<description></description>
<pubDate>Tue, 17 Feb 2009 05:16:53 -0000</pubDate>
<webMaster>synedra@gmail.com</webMaster>
<generator>Socialtext Workspace v2.14.7.2</generator>

<item>
<title><![CDATA[witch_littlep]]></title>
<link>http://www.perlfoundation.org/perl6/index.cgi?witch_littlep</link>
<description><![CDATA[<div class="wiki">
<h1 id="mnemonics">Mnemonics</h1>
<p>
&quot;<em>pair</em>&quot;,&quot;<em>position</em>&quot;,&quot;<em>print</em>&quot;,&quot;<em>pipe</em>&quot;</p>
<ul>
<li>just a letter, but has a few extra uses</li>
</ul>
<hr />
<h1 id="used_alone">Used alone</h1>
<ul>
<li>is just an alphanumeric character</li>
</ul>
<h1 id="operators_containing_this_character">Operators containing this character</h1>
<ul>
<li><span class="nlw_phrase">p5=&gt;<!-- wiki: {{p5=&gt;}} --></span> is a <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S03.html#Comma_operator_precedence">perl5 fatarrow<!-- wiki-renamed-hyperlink "perl5 fatarrow"<http://perlcabal.org/syn/S03.html#Comma_operator_precedence> --></a> intended for use by automated code converters</li>
</ul>
<h1 id="when_used_inside_regexes">When used inside regexes</h1>
<ul>
<li>:p :pos try to match only at the specified string <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S05.html#Modifiers">position<!-- wiki-renamed-hyperlink "position"<http://perlcabal.org/syn/S05.html#Modifiers> --></a></li>
<li>:panic causes this regex and all invoked subrules to <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S05.html#Modifiers">try to backtrack<!-- wiki-renamed-hyperlink "try to backtrack"<http://perlcabal.org/syn/S05.html#Modifiers> --></a></li>
</ul>
<h1 id="as_an_adverb">As an adverb</h1>
<ul>
<li>:p test an IO::FilesystemEntry for <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S16.html#IO%3A%3AFilesystemEntry">named pipedness<!-- wiki-renamed-hyperlink "named pipedness"<http://perlcabal.org/syn/S16.html#IO%3A%3AFilesystemEntry> --></a></li>
<li>:p <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S06.html#Named_arguments">on array or hash dereferencer<!-- wiki-renamed-hyperlink "on array or hash dereferencer"<http://perlcabal.org/syn/S06.html#Named_arguments> --></a> causes a <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S02.html#Names_and_Variables">return of Pairs<!-- wiki-renamed-hyperlink "return of Pairs"<http://perlcabal.org/syn/S02.html#Names_and_Variables> --></a>.</li>
</ul>
<h1 id="other_uses">Other Uses</h1>
<ul>
<li>-p command line flag makes perl6 <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S05.html#Backslash_reform">behave like sed<!-- wiki-renamed-hyperlink "behave like sed"<http://perlcabal.org/syn/S05.html#Backslash_reform> --></a> (loop on lines and print)</li>
</ul>
<h1 id="old_deprecated_or_other_language_uses">Old, deprecated, or other language uses</h1>
<ul>
<li>-p command line flag was also there in perl5</li>
<li>\p was a named property in perl5 regexps, that is <a target="_blank" title="(external link)" href="http://perlcabal.org/syn/S05.html#Backslash_reform">now done<!-- wiki-renamed-hyperlink "now done"<http://perlcabal.org/syn/S05.html#Backslash_reform> --></a> with subrules in regexes</li>
</ul>
</div>
]]></description>
<author>Brian Julin</author>
<guid isPermaLink="true">http://www.perlfoundation.org/perl6/index.cgi?witch_littlep</guid>
<pubDate>Tue, 17 Feb 2009 05:16:53 -0000</pubDate>
</item>

</channel>
</rss>