CINXE.COM

moritz

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- Took this out for IE6ites "http://www.w3.org/TR/REC-html40/loose.dtd" --> <html lang="en"> <head id="stdcontainer"> <title> moritz </title> <link rel="canonical" href="https://www.perlmonks.org/?node_id=616540" /> <!-- Theme : Web safe blue PerlMonks Theme --> <script language="javascript" type="text/javascript" src="?node=list%20replies%20toggle%20javascript" integrity="sha384-6jdBZxT7udN82vOTryPaLwqMohSfDF3HXv3M32KAZ7dOREMdAkYh9ZhoaKCgCXcr" crossorigin="anonymous"></script> <link rel="stylesheet" href="/css/common.css" type="text/css" /> <link rel="stylesheet" href="?node_id=204962" type="text/css" /> <!-- No CSS Link in Display Settings --> <!-- No CSS Data in Display Settings --> <link rel="icon" href="/favicon.ico" /> </head> <body id="id-616540"> <!-- monktainer --> <!-- monkbar2001 --> <table id="monkbar" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr class="bannerrow"> <td align="left" width="100%"> <a href="http://pair.com"> <img src="//promote.pair.com/i/pair-banner-current.gif" height = "60" width = "468" alt = "Beefy Boxes and Bandwidth Generously Provided by pair Networks" /> </a> </td> <td rowspan="2" align="right" valign="bottom"> <!-- Monk Pic Turned Off In User Settings --> </td> </tr> <tr class="monkquip"> <td class="monkquip" valign="bottom" width="100%" > Just another Perl shrine </td> </tr> <tr class="titlebar"> <td class="titlebar"> <form method="get" action="?" enctype="application/x-www-form-urlencoded" > &nbsp; <input type="text" name="node" id="search_text" size="20" maxlength="300" /> <input class="titlebar" type="submit" value="Search" /> </form> </td> <td class="titlebar" id="mb2001titlebar" align="right" > <a class="titlebar" href="?">PerlMonks</a>&nbsp;&nbsp; </td> </tr> </table> <!-- /monkbar2001 --> <!-- Begin title bar --> <table width="98%" align="center" id="titlebar-top"> <tbody> <tr> <td valign="middle" class="titlechooser"> <!-- node_info_string: (h3)Title and (span)Author --> <h3 class="other">moritz</h3> <span class="attribution">by <a href="?node_id=616540">moritz</a> <span class="attribution-title">(Cardinal)</span> </span> <!-- /node_info_string --> </td> <td valign="top" align="right" class="monktitlebar"> <!-- monktitlebar --> <ul class="topnavmenu inline-list"> <li><a href="?node_id=109">Log&nbsp;in</a></li><li><a href="?node_id=101">Create&nbsp;a&nbsp;new&nbsp;user</a></li> <li><a href="?">The&nbsp;Monastery&nbsp;Gates</a></li> <li><a href="?node=Seekers%20of%20Perl%20Wisdom">Seekers&nbsp;of&nbsp;Perl&nbsp;Wisdom</a></li> <li><a href="?node=Meditations">Meditations</a></li> <li><a href="?node=Cool%20Uses%20for%20Perl">Cool&nbsp;Uses&nbsp;For&nbsp;Perl</a></li> <li><a href="?node=Obfuscated%20Code">Obfuscation</a></li> <li><a href="?node=Tutorials">Tutorials</a></li> <li><a href="?node=Perl%20Poetry">Poetry</a></li> <li><a href="?node=Illuminations">Illuminations</a></li> <li><a href="?node=Reviews">Reviews</a></li> <li><a href="?node=Perl%20News">Perl&nbsp;News</a></li> <li><a href="?node=Recently%20Active%20Threads">Recent&nbsp;Threads</a></li> <li><a href="?node=Newest%20Nodes">Newest&nbsp;Nodes</a></li> <li><a href="?node=Super%20Search">Super&nbsp;Search</a></li> <li><a href="?node=Perl%20Monks%20Discussion">PerlMonks&nbsp;Discussion</a></li> <li><a href="?node=Tidings">What's&nbsp;New</a></li> </ul> <!-- args=(monktitlebar sitedoclet -TOPNAV_SPECIAL <li><a href="?node_id=109">Log&nbsp;in</a></li><li><a href="?node_id=101">Create&nbsp;a&nbsp;new&nbsp;user</a></li>) NODE.title = moritz NODE.owner = 616540 N.title = monktitlebar sitedoclet N.owner = 17342 --> <!-- /monktitlebar --> </td> </tr> </tbody> </table> <table width="98%" align="center" id="titlebar-bottom"> <tbody> <tr> <td valign="middle" class="titlechooser"> <!-- node_info_string: (span)Date and (span)Links --> <span class="attribution">on May 21, 2007 at 12:33&nbsp;UTC</span> <span class="addlinks">( <a href="?node_id=616540">&#091;id://616540&#093;</a>=<a href="?node_id=15">user</a>: <a rel="nofollow" href="?node_id=616540;displaytype=print">print</a> <a rel="nofollow" href="?displaytype=print;replies=1;node_id=616540">w/replies</a>, <a href="?node_id=616540;displaytype=xml">xml</a> )</span> <!-- /node_info_string --> </td> <td valign="middle" align="right" class="monktitlebar"> <a href="?node=PerlMonks%20FAQ">Need Help??</a> </td> </tr> </tbody> </table> <!-- End title bar --> <!-- Begin main (monktainer) --> <center> <table width="98%"> <tr> <td width="80%" valign="top" class="main_content"> <!--contained stuff--> <!-- BEGIN general container --> <table class="pm-user-info"><tr> <td><img alt="moritz's user image" src="?updated=20160619113030;node_id=633572" title="moritz's user image" /></td> <td valign="top"> <table> <tr> <td>User since:</td> <td>May 21, 2007 at 12:33&nbsp;UTC <i>(18 years ago)</i></td> </td> </tr><tr> <td>Last here:</td> <td>Jan 20, 2021 at 10:25&nbsp;UTC <i>(4 years ago)</i></td> </tr><tr> <td>Experience:</td> <td><b> 66287 </b></td> </tr><tr> <td>Level:</td><td><b>Cardinal (24)</b></td> </tr><tr> <td>Writeups:</td> <td><b> <a href="?user=moritz;node_id=6364">6429</a> </b></td> </tr> <tr><td>CPAN ID:</td><td><a href="https://metacpan.org/author/MORITZ">MORITZ</td></tr> <tr><td>Location:</td><td>F黵th, Germany</td></tr> <tr> <td>User's localtime:</td><td> Nov 24, 2024 at 11:51&nbsp;GMT </td> </tr><tr> <td>Scratchpad:</td><td> <a href="?viewmode=public;node_id=632816">View</a> </td> </tr> <tr><td>Member of:</td><td> <a href="?node_id=431494">holders of unholy power</a> </td> </tr> <tr class="msg_user"><td>For this user:</td><td><a href="?a=moritz;node=Super%20Search">Search nodes</a></td></tr> </table> </td> </tr> </table> <p> <p> <p> <p> <p> <!-- location:latitude=049.46.31,longitude=009.59.37 --> <a href="https://perlgeek.de/">Moritz</a> currently lives Germany, loves perl and especially <a href="https://perl6.org/">Perl 6</a>. He <a href="https://deploybook.com/">writes a book on automating deployments and Continuous Delivery</a>. <p>The picture shows Eilean Donan Castle in Scotland, the picture was taken during a pleasant year of... "studying" in <a href="http://moritz.faui2k3.org/en/gallery/scotland/">Scotland</a>. <p>If you're curious, <a href="http://moritz.faui2k3.org/images/ich4.jpg">here's a picture of me</a>. <h2>CPAN</h2> My first module: <a href="https://metacpan.org/release/Math%3A%3AExpression%3A%3AEvaluator">Math::Expression::Evaluator</a>. <p>Then came <a href="https://metacpan.org/release/Perl6%3A%3AGather%3A%3ATake">Perl6::Gather::Take</a>, which is the only lazy gather/take implementation on CPAN, but doesn't yet meet my standards (just read the caveats...). <p><a href="https://metacpan.org/pod/Perl6%3A%3AStr">Perl6::Str</a> is the cool new kid on the block, which should and would a be a revolution in the way we deal with strings, if it weren't so much slower than perl 5's built-in string handling. <p><a href="https://metacpan.org/pod/Encode%3A%3ARepair">Encode::Repair</a> does what the name suggests it does, but it doesn't do magic or guessing, just deterministic, solid work. <p>There is another <a href="?node_id=645771">module that I've wanted to work on for ages</a>, and which I'll probably name <tt class='inlinecode'>Math::Model</tt>. Thanks to <a href="?node=mr_mischief">mr_mischief</a> for helping me finding a name. Now <a href="https://github.com/moritz/Math-Model/">implemented in Perl 6</a>. <h2>Perl 6</h2> <p>Perl 6 hacking and <a href="http://perlgeek.de/blog-en/perl-6/">blogging</a> takes up a significant of my free time. I also published some articles about Perl 6 in the German <a href="http://www.heise.de/ix/">iX magazine</a>. <p>I regularly contribute to the Perl 6 test suite, and to <a href="http://www.rakudo.org/">Rakudo</a> (both test infrastructure and compiler). <p>Currently I'm running (and as needed, developing) the <a href="http://irclog.perlgeek.de/perl6/today">IRC logs for #perl6</a>. <h2>Weird Perl 5 Stuff</h2> <p>Did you know that there can be a space after the sigil of a variable? <pre class="code"><div class='codeblock'><tt class='codetext'>$ perl -wle &#39;my $x = 3; print $ x; print &quot;$ { x }&quot;&#39; 3 3 </tt></div><div class='embed-code-dl'><a href="?displaytype=displaycode;part=2;abspart=1;node_id=616540">&#91;download&#93;</a></div></pre> <p>Or that you can define subs with numeric names? <pre class="code"><div class='codeblock'><tt class='codetext'>$ perl -wle &#39;sub 4 { print &quot;yes&quot; }&#39; Illegal declaration of anonymous subroutine at -e line 1. $ # well, not like that. But it *is* possible: $ perl -lwe &#39;*4 = sub { print &quot;yes&quot; }; 4-&gt;()&#39; yes </tt></div><div class='embed-code-dl'><a href="?displaytype=displaycode;abspart=1;part=3;node_id=616540">&#91;download&#93;</a></div></pre> <p>Oh, and <a href="http://use.perl.org/~nicholas/journal/39741">some funny fossils</a> lurk behind dark corners - sigils are optional in some cases: <pre class="code"><div class='codeblock'><tt class='codetext'>$ perl -le &#39;push a, 2, 3; print @a&#39; 23 </tt></div><div class='embed-code-dl'><a href="?node_id=616540;part=4;displaytype=displaycode;abspart=1">&#91;download&#93;</a></div></pre> <p>Did you know about the <a href="http://perldoc.perl.org/functions/reset.html">reset</a> built-in function? Funny thing, if you ask me ;) <p>A funny way to call code refs: <pre class="code"><div class='codeblock'><tt class='codetext'>$ perl -wE &#39;use strict; my $f = sub { say qq(lol WTF?)}; 1-&gt;$f;&#39; lol WTF? </tt></div><div class='embed-code-dl'><a href="?part=5;displaytype=displaycode;abspart=1;node_id=616540">&#91;download&#93;</a></div></pre> <h2>Other Perl Resources</h2> <p>The <a href="http://www.perl-community.de/">German Perl Community</a> is quite helpful. <p>I'm a member of <a href="http://perlmongers.de/?ErlangenPM">Erlangen.pm</a>. </p> <!-- END general container --> <!--/contained stuff--> </td> <!--nodelet handling code (monktainer)--> <td width="20%" valign="top" align="right" class="nodelets"> <!-- Begin nodelets --> <table class='nodelet_container' id='nodelet_container'> <!-- Nodelet Break --> <tbody class="nodelet" id="Log_In"> <tr><th class="nodelet_head"> <span class="title">Log In</span><a href="?node=About the Log In" class="nodelethead-annot"><sup>?</sup></a> </th></tr> <tr><td class="nodelet_body"> <form method="post" action="?" enctype="multipart/form-data" name="login"> <span><input type="hidden" name="node_id" value="616540" ></input></span> <input type="hidden" name="op" value="login" /> <input type="hidden" name="lastnode_id" value="616540" /> <table border="0"><tr><td> Username:</td><td> <input type="text" name="user" size="10" maxlength="34" /> </td></tr><tr><td> Password:</td><td> <input type="password" name="passwd" size="10" maxlength="10" /> </td></tr></table> <label><input type="checkbox" name="expires" value="+10y" />remember me</label> <input type="submit" name="login" value="Login" /> <br /> <a href="?node_id=2513">What's my password?</a> <br /> <a href="?node_id=101">Create A New User</a> </form> </td></tr> </tbody> <!-- Nodelet Break --> <tbody class="nodelet" id="Domain_Nodelet"> <tr><th class="nodelet_head"> <span class="title">Domain Nodelet</span><a href="?node=About the Domain Nodelet" class="nodelethead-annot"><sup>?</sup></a> </th></tr> <tr><td class="nodelet_body"> <p class='domain_link' align='center'><a class='wwwdomainlink' href="http://www.perlmonks.com/index.pl?node_id=616540">www</a>.<a class='domainlink' href="http://perlmonks.com/index.pl?node_id=616540">com</a> | <a class='wwwdomainlink' href="http://www.perlmonks.net/index.pl?node_id=616540">www</a>.<a class='domainlink' href="http://perlmonks.net/index.pl?node_id=616540">net</a> | <span class='currentdomain'>www</span>.<a class='domainlink' href="http://perlmonks.org/index.pl?node_id=616540">org</a></p> </td></tr> </tbody> <!-- Nodelet Break --> <tbody class="nodelet" id="Chatterbox"> <tr><th class="nodelet_head"> <span class="title">Chatterbox</span><a href="?node=About the Chatterbox" class="nodelethead-annot"><sup>?</sup></a> </th></tr> <tr><td class="nodelet_body"> <form method="get" action="?" enctype="multipart/form-data"> <span><input type="hidden" name="node_id" value="616540" ></input></span><i class="cb_quiet">and all is quiet...</i><br /> <input type="submit" name="foo" value="Refresh" /> </form> <i><br /> <a href="?node=ChatterBox%20FAQ">How do I use this?</a> &bull; <a href="?node=last%20hour%20of%20cb">Last hour</a> &bull; <a href="?node_id=20842">Other CB clients</a></i> </td></tr> </tbody> <!-- Nodelet Break --> <tbody class="nodelet" id="Other_Users"> <tr><th class="nodelet_head"> <span class="title">Other Users</span><a href="?node=About the Other Users" class="nodelethead-annot"><sup>?</sup></a> </th></tr> <tr><td class="nodelet_body"> <span class="other-users-text">Others <span class="other-users-blurb">examining</span> the Monastery:</span> (6)<br /><ul class="spacey-list"><li><span class='even-row'><span class='item-000'><span class='user-level-26'><span class='user-461912'><a href="?node_id=461912" title="GrandFather's home node. Level 26. Member of: janitors">GrandFather</a></span></span></span></span></li> <li><span class='odd-row'><span class='item-001'><span class='user-level-23'><span class='user-968231'><a title="Athanasius's home node. Level 23. Member of: janitors" href="?node_id=968231">Athanasius</a></span></span></span></span></li> <li><span class='even-row'><span class='item-002'><span class='user-level-21'><span class='user-747201'><a href="?node_id=747201" title="afoken's home node. Level 21">afoken</a></span></span></span></span></li> <li><span class='odd-row'><span class='item-003'><span class='user-level-20'><span class='user-200365'><a title="Tux's home node. Level 20" href="?node_id=200365">Tux</a></span></span></span></span></li> <li><span class='even-row'><span class='item-004'><span class='user-level-17'><span class='user-209409'><a href="?node_id=209409" title="hv's home node. Level 17">hv</a></span></span></span></span></li> <li><span class='odd-row'><span class='item-005'><span class='user-level-1'><span class='user-11155664'><a title="chatterbot's home node. Level 1" href="?node_id=11155664">chatterbot</a></span></span></span></span></li> </ul><span class='update-time'><small>As of 2024-11-24 11:48 GMT</small></span> </td></tr> </tbody> <!-- Nodelet Break --> <tbody class="nodelet" id="Sections"> <tr><th class="nodelet_head"> <span class="title">Sections</span><a href="?node=About the Sections" class="nodelethead-annot"><sup>?</sup></a> </th></tr> <tr><td class="nodelet_body"> <ul class="spacey-list"> <li><a href="?node=Seekers%20of%20Perl%20Wisdom">Seekers of Perl Wisdom</a></li> <li><a href="?node=Cool%20Uses%20for%20Perl">Cool Uses for Perl</a></li> <li><a href="?node=Meditations">Meditations</a></li> <li><a href="?node=Perl%20Monks%20Discussion">PerlMonks Discussion</a></li> <li><a href="?node=Categorized%20Questions%20and%20Answers">Categorized Q&amp;A</a></li> <li><a href="?node=Tutorials">Tutorials</a></li> <li><a href="?node=Obfuscated%20Code">Obfuscated Code</a></li> <li><a href="?node=Perl%20Poetry">Perl Poetry</a></li> <li><a href="?node=Perl%20News">Perl News</a></li> <li><a href="?node_id=483086">about</a></li> </ul> <!-- args=(Sections) NODE.title = moritz NODE.owner = 616540 N.title = Sections sitedoclet N.owner = 17342 --> </td></tr> </tbody> <!-- Nodelet Break --> <tbody class="nodelet" id="Information"> <tr><th class="nodelet_head"> <span class="title">Information</span><a href="?node=About the Information" class="nodelethead-annot"><sup>?</sup></a> </th></tr> <tr><td class="nodelet_body"> <ul class="spacey-list"> <li><a href="?node=PerlMonks%20FAQ">PerlMonks FAQ</a></li> <li><a href="?node=the%20Perl%20Monks%20guide%20to%20the%20Monastery">Guide to the Monastery</a></li> <li><a href="?node=Tidings">What's New at PerlMonks</a></li> <li><a href="?node=Voting%2FExperience%20System">Voting/Experience System</a></li> <li><a href="?node=Tutorials">Tutorials</a></li> <li><a href="?node=Reviews">Reviews</a></li> <li><a href="?node=Library">Library</a></li> <li><a href="?node=perlman%3Aperlfaq">Perl FAQs</a></li> <li><a href="?node=Where%20can%20I%20find%20more%20information%20on...">Other Info Sources</a></li> </ul> <!-- args=(Information sitedoclet -TIDINGS_NEW ) NODE.title = moritz NODE.owner = 616540 N.title = Information sitedoclet N.owner = 17342 --> </td></tr> </tbody> <!-- Nodelet Break --> <tbody class="nodelet" id="Find_Nodes"> <tr><th class="nodelet_head"> <span class="title">Find Nodes</span><a href="?node=About the Find Nodes" class="nodelethead-annot"><sup>?</sup></a> </th></tr> <tr><td class="nodelet_body"> <ul class="spacey-list"> <li><a href="?node_id=6364;user=961">Nodes You Wrote</a></li> <li><a href="?node=My%20Watched%20Nodes">My Watched Nodes</a></li> <li><a href="?node=Super%20Search">Super Search</a></li> <li><a href="?node=Perl%20Monks%20User%20Search">List Nodes By Users</a></li> <li><a href="?node=Newest%20Nodes">Newest Nodes</a></li> <li><a href="?node=Recently%20Active%20Threads">Recently Active Threads</a></li> <li><a href="?node=Selected%20Best%20Nodes">Selected Best Nodes</a></li> <li><a href="?node=Best%20Nodes">Best Nodes</a></li> <li><a href="?node=Worst%20Nodes">Worst Nodes</a></li> <li><a href="?node=Saints%20in%20our%20Book">Saints in our Book</a></li> <li><a href="?op=randomnode">Random Node</a></li> </ul> <!-- args=(Find Nodes sitedoclet -USER 961) NODE.title = moritz NODE.owner = 616540 N.title = Find Nodes sitedoclet N.owner = 17342 --> </td></tr> </tbody> <!-- Nodelet Break --> <tbody class="nodelet" id="Leftovers"> <tr><th class="nodelet_head"> <span class="title">Leftovers</span><a href="?node=About the Leftovers" class="nodelethead-annot"><sup>?</sup></a> </th></tr> <tr><td class="nodelet_body"> <ul class="spacey-list" id="user"></ul> <ul class="spacey-list" id="internal"> <li><a href="?node=The%20St.%20Larry%20Wall%20Shrine">The St. Larry Wall Shrine</a></li> <li><a href="?node=Offering%20Plate">Offering Plate</a></li> <li><a href="?node=Awards">Awards</a></li> <li><a href="?node=Quests">Quests</a></li> </ul> <ul class="spacey-list" id="external"> <li><a href="http://www.perl.org/">Perl</a></li> <li><a href="http://blogs.perl.org/">Perl Blogs</a></li> <li><a href="http://perl.com/">Perl.com</a></li> <li><a href="https://perl.theplanetarium.org/">Planet Perl</a></li> <li><a href="http://perlweekly.com/">Perl Weekly</a></li> <li><a href="http://jobs.perl.org/">Perl Jobs</a></li> <li><a href="http://www.pm.org/">Perl Mongers</a></li> <li><a href="http://perldoc.perl.org/">Perl documentation</a></li> <li><a href="https://metacpan.org/">MetaCPAN</a></li> <li><a href="http://cpan.perl.org/">CPAN</a></li> <li><a href="https://raku.org/">Raku</a></li> </ul> <!-- args=(Leftovers sitedoclet -USER_LINKS -TIL <span class="wikilink"><a href="?node_id=11156813">Today I Learned</a></span>) NODE.title = moritz NODE.owner = 616540 N.title = Leftovers sitedoclet N.owner = 17342 --> </td></tr> </tbody> <!-- Nodelet Break --> <tbody class="nodelet" id="Voting_Booth"> <tr><th class="nodelet_head"> <span class="title">Voting Booth</span><a href="?node=About the Voting Booth" class="nodelethead-annot"><sup>?</sup></a> </th></tr> <tr><td class="nodelet_body"> <div class="poll-vote-form"><b>chatterbot is...</b><form method="post" action="?" enctype="multipart/form-data"> <span><input type="hidden" name="displaytype" value="display" ></input></span><span><input type="hidden" name="node_id" value="11162559" ></input></span><p><label><input type="radio" name="vote" value="0" />Great! It updates <a href="?node_id=596792">last hour of cb</a> and helps me join a discussion </label><br /><label><input type="radio" name="vote" value="1" />The! Worst! Thing! Ever! It always ignores my self-upvotes for <a href="?node_id=11155739">cb stats</a>!!?! </label><br /><label><input type="radio" name="vote" value="2" />Somewhat useful in settling debates with coin flips and dice rolls </label><br /><label><input type="radio" name="vote" value="3" /><a href="?node=Chatterbot">Chatterbot</a>? Nobody told me about it! </label><br /><label><input type="radio" name="vote" value="4" />Not my cup of tea. I do not do that live chat thingie...</label><br /><input type="submit" value="Vote" /></p></form><p><a href="?node_id=11162559">Results (48 votes)</a>. Check out <a href="?node=past%20polls">past polls</a>.</p></div> </td></tr> </tbody> </table> <!-- End nodelets --> </td> <!--/nodelet handling code (monktainer)--> </tr> </table> </center> <!-- End main (monktainer)--> <br /> <br /> <div id="footer"> PerlMonks graciously bestowed by <a href="?node=vroom">Tim Vroom</a>.<br/> PerlMonks was recently assimilated by <a href="http://www.perlfoundation.org">The Perl Foundation</a>. <a href="?node=Offering%20Plate">Donate</a> to TPF!<br /> Marvelous Managed Hosting and Bandwidth Generously Provided by <a href="http://promote.pair.com/direct.pl?perlmonks.org"> pair Networks</a> <br/>Built with the <a href="http://perl.org">Perl programming language</a>. </div> <!-- /monktainer --> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10