sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

596
active users

#perl

14 posts11 participants0 posts today
"Mutant Rob" Robert Rothenberg<p>Code review.</p><p>A regular source of <a href="https://infosec.exchange/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> bugs is when developers forget that DateTime has mutable state:</p><p>return $dt-&gt;add( days =&gt; 7 )</p><p>changes $dt.</p>
abcderian<p>Is anyone else seeing failed MetaCPAN lookups via MetaCPAN::Client with a 'Payment Required' message? </p><p>I've been using this script for months to check for project updates, as recently as a day a ago: today every lookup fails with a payment required error message. Yet I see nothing about paying for access on MetaCPAN...</p><p><a href="https://techhub.social/tags/metacpan" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>metacpan</span></a> <a href="https://techhub.social/tags/perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>perl</span></a> <a href="https://techhub.social/tags/cpan" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cpan</span></a></p>
r҉ustic cy͠be̸rpu̵nk🤠🤖<p>I just realized I could write <a href="https://masto.hackers.town/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> which writes more Perl, which will then run that Perl</p><p>So many possibilities</p><p>BRB Building myself an arsenal of foot canons...</p>
Axel ⌨🐧🐪🚴😷 | R.I.P Natenom<p><span class="h-card" translate="no"><a href="https://social.linux.pizza/@domm" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>domm</span></a></span>: Oh fsck, <a href="https://chaos.social/tags/mst" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mst</span></a> died? Very sad to hear. 😢 I still remember that he offered help and advise when I took over <a href="https://chaos.social/tags/Lintian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lintian</span></a>, especially about the web backend (which the previous Lintian maintainer started to rewrite from scratch but never finished) where mst seems to have been involved from the <a href="https://chaos.social/tags/PostgreSQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PostgreSQL</span></a> side. He was also often present in <a href="https://chaos.social/tags/Debian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Debian</span></a>'s <a href="https://chaos.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> IRC channels and we chatted occasionally, not always about Perl. I think I also met him IRL once, but I'm no more sure where.</p><p><a href="https://chaos.social/tags/ripmst" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ripmst</span></a> <a href="https://chaos.social/tags/rip" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rip</span></a></p>
wlmb<p><a href="https://mstdn.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> @PerlWChallenge 331 Last Word and Buddy Strings <a href="https://wlmb.github.io/2025/07/21/PWC331/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">wlmb.github.io/2025/07/21/PWC3</span><span class="invisible">31/</span></a><br><a href="https://mstdn.social/tags/noxp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>noxp</span></a></p>
wlmb<p><a href="https://mstdn.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> @PerlWChallenge 331 Task 2: Buddy Strings<br><a href="https://mstdn.social/tags/noxp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>noxp</span></a><br>```<br>perl -E '<br>for my($s,$t)(@ARGV){say"$s $t -&gt; ",($j="$s$;$t")=~/^(.*)(.)(.*)(.)(.*)$;\1\4\3\2\5$/?"T":"F"}<br>' fuck fcuk love love fodo food feed feed<br>```</p>
wlmb<p><a href="https://mstdn.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> @PerlWChallenge 331 Task 1: Last Word<br><a href="https://mstdn.social/tags/noxp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>noxp</span></a><br>```<br>perl -E '<br>for(@ARGV){say "$_ -&gt; ", length [split " "]-&gt;[-1]=~s/\W//gr}<br>' "The Weekly Challenge." " Hello World. " "Let's begin the fun!"<br>```</p>
Hacker News<p>Perl Versioning Scheme and Gentoo</p><p><a href="https://wiki.gentoo.org/wiki/Project:Perl/Version-Scheme" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">wiki.gentoo.org/wiki/Project:P</span><span class="invisible">erl/Version-Scheme</span></a></p><p><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> <a href="https://mastodon.social/tags/Versioning" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Versioning</span></a> <a href="https://mastodon.social/tags/Gentoo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gentoo</span></a> <a href="https://mastodon.social/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://mastodon.social/tags/Community" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Community</span></a> <a href="https://mastodon.social/tags/News" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>News</span></a></p>
Stéphane Pouyllau<p>🚀 I'd been wanting to create a small OAI-PMH server powered by a simple CSV file in Dublin Core. With a bit of “vibe coding” and the help of IA (Mistral7b), I finally took the time to make the complete project. It's on my personal GitHub. Two versions, in PHP 🐘 (<a href="https://github.com/spouyllau/csv2oai" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/spouyllau/csv2oai</span><span class="invisible"></span></a>) and Perl 🐪 (<a href="https://github.com/spouyllau/csv2oai-the-definitive-Perl-version" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/spouyllau/csv2oai-t</span><span class="invisible">he-definitive-Perl-version</span></a>). <a href="https://mastodon.social/tags/OAI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OAI</span></a> <a href="https://mastodon.social/tags/OpenAccess" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenAccess</span></a> <a href="https://mastodon.social/tags/DublinCore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DublinCore</span></a> <a href="https://mastodon.social/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a> <a href="https://mastodon.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> <a href="https://mastodon.social/tags/discoverytool" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>discoverytool</span></a> <a href="https://mastodon.social/tags/interoperability" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>interoperability</span></a></p>
Mark<p>Oh my gosh, I didn't know that Matt Trout died. He was a definite "presence" in the Perl world.</p><p>The last time I interacted with him was years ago. He was trying to convince to me to get involved in taking on XS components of some CGI-related modules. I'd have rather had needles pounded into my eyes.</p><p>I always appreciated his bluntness. And his very fast, sharp intelligence.</p><p>I didn't even know he wasn't able to work much lately. Godspeed Matt.</p><p><a href="https://hard.blue/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> <a href="https://hard.blue/tags/wetlands" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wetlands</span></a></p><p><a href="https://www.shadowcat.co.uk/2025/07/09/ripples-they-cause-in-the-world/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">shadowcat.co.uk/2025/07/09/rip</span><span class="invisible">ples-they-cause-in-the-world/</span></a></p>
Profoundly Nerdy<p><span class="h-card"><a href="https://infosec.exchange/@barubary" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>barubary</span></a></span> This is why I love the <a href="https://bitbang.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> community. They know their shit and can explain all manner of syntactic quirks in depth. </p><p>I'm not sure I knew about the `+` operator.</p>
Oriel Jutty :hhHHHAAAH:<p><span class="h-card" translate="no"><a href="https://bitbang.social/@profoundlynerdy" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>profoundlynerdy</span></a></span> That's a purely syntactic issue. You want <code>(...)</code> to be parsed as the <code>(...)[...]</code> list slice operator, but here <code>say</code> gobbles it up for the <code>say(...)</code> function call syntax. Two solutions:</p><ol><li><code>say((split " ", "Foo Bar")[0])</code></li><li><code>say +(split " ", "Foo Bar")[0]</code></li></ol><p>(I changed <code>split / /</code> (which splits on single spaces) to <code>split " "</code> (which splits on any kind of (possibly repeated) whitespace) because that's usually what people want. If you need <code>" Foo Bar"</code> to become <code>("", "Foo", "", "Bar")</code>, use <code>split / /</code>.)</p><p>Solution #1 simply nests the syntactic structures: You have a list slice <code>(...)[...]</code> inside a function call <code>say(...)</code>. Solution #2 (ab)uses the unary <code>+</code> operator, which is a no-op, but syntactically separates <code>say</code> from <code>(</code>, thus preventing <code>(</code> from being parsed as the start of an argument list.</p><p>But if you only want to extract the first "word" (chunk of non-whitespace) from a string, you could also use <code>say "Foo Bar" =~ /(\S+)/</code>.</p><p><a href="https://infosec.exchange/tags/perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>perl</span></a></p>
Profoundly Nerdy<p>Dumb Perl question, because I'm insufficiently caffeinated, the answer isn't coming to me and my DDG-fu is failing me. Given the Perl one-liner that prints "Foo":</p><p>```<br>perl -E 'my <span class="h-card"><a href="https://bitbang.social/@a" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>a</span></a></span> = (split / /, "Foo Bar"); say $a[0]'<br># Foo<br>```</p><p>How do I rewrite it so that an intermediate variable is not required? Doing `say ( ... )[0]` won't work, because `()` controls precedence, it doesn't construct an array. Can't seem to make it work I'm annoyed. 🤦 </p><p><a href="https://bitbang.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> <a href="https://bitbang.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>
heise Developer<p>Perl-Guru Matt Trout ist mit 42 Jahren gestorben</p><p>Der Mitautor des Webframeworks Catalyst Matt S Trout war für seine humorvollen Vorträge bekannt, er stieß aber auch einige vor den Kopf.</p><p><a href="https://www.heise.de/news/Perl-Guru-Matt-Trout-ist-mit-42-Jahren-gestorben-10488234.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&amp;utm_source=mastodon" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">heise.de/news/Perl-Guru-Matt-T</span><span class="invisible">rout-ist-mit-42-Jahren-gestorben-10488234.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&amp;utm_source=mastodon</span></a></p><p><a href="https://social.heise.de/tags/IT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>IT</span></a> <a href="https://social.heise.de/tags/Nachruf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nachruf</span></a> <a href="https://social.heise.de/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> <a href="https://social.heise.de/tags/Softwareentwicklung" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Softwareentwicklung</span></a> <a href="https://social.heise.de/tags/news" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>news</span></a></p>
bufalo1973<p><span class="h-card" translate="no"><a href="https://indieweb.social/@jbz" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jbz</span></a></span> my problem is with <a href="https://tuiter.rocks/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a>. I haven't learn yet <a href="https://tuiter.rocks/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> but in comparison is pretty understandable.</p>
wlmb<p><a href="https://mstdn.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> @PerlWChallenge 330 Clear Digits and Title Capital <a href="https://wlmb.github.io/2025/07/14/PWC330/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">wlmb.github.io/2025/07/14/PWC3</span><span class="invisible">30/</span></a><br><a href="https://mstdn.social/tags/noxp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>noxp</span></a></p>
wlmb<p><a href="https://mstdn.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> @PerlWChallenge 330 Task 2: Title Capital<br><a href="https://mstdn.social/tags/noxp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>noxp</span></a><br>```<br>perl -E '<br>say join " ", map {(length($_) &gt;2 &amp;&amp; ucfirst)||$_} split " ", lc for @ARGV<br>' "PERL IS gREAT" "THE weekly challenge" "YoU ARE A stAR"<br>```</p>
wlmb<p><a href="https://mstdn.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> @PerlWChallenge 330 Task 1: Clear Digits<br><a href="https://mstdn.social/tags/noxp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>noxp</span></a><br>```<br>perl -E '<br>for(@ARGV){$i=$_; 1 while s/[^0-9][0-9]//; say "$i -&gt; $_"}<br>' cab12 xy99 pa1erl<br>```</p>
Lobsters<p>perldelta - what is new for perl v5.42.0 <a href="https://lobste.rs/s/lree6z" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lobste.rs/s/lree6z</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>perl</span></a> <a href="https://mastodon.social/tags/release" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>release</span></a><br><a href="https://perldoc.perl.org/perldelta" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">perldoc.perl.org/perldelta</span><span class="invisible"></span></a></p>
nxadm<p>I have been extremely busy lately and hadn't checked IRC for at least a week. Today I connected again and heard mst passed away. I will miss him. A sad day for the Perl community.</p><p>Yes, mst was at the same famous and infamous his technical brilliance and humor, and for getting into trouble for verbal abuse. More than once. The beautiful words of Curtis will be recognizable for many people that knew him.</p><p>I met mst several times. At Perl conferences in the Netherlands, Germany and the UK and through the Perl devroom I used to organize with <span class="h-card" translate="no"><a href="https://mastodon.social/@WGAvanDijk" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>WGAvanDijk</span></a></span>. Going to dinner of to a pub was fun, but organizing something where mst was speaking was stressful :).</p><p>Despite these occasional meetings, how I will really remember mst is through our many IRC chats. They were mostly related to community stuff, but after a while you know each other and conversations become more fun and casual.</p><p>Thinking of those conversations, mst struck me as very, sometime painfully, honest. When he fucked up, he acknowledged it. And regretted it. When he felt he wasn't at fault -while more than once some people assumed he was- he took the time to explain his position and clarify the doubts I had. I always appreciated that.</p><p>mst has been away from IRC for some months and many of us -rightly- assumed it was because he was working on health issues and needed the mental rest.</p><p>Dying at **42**, that felt so mst.</p><p><a href="https://curtispoe.org/blog/rip-mst.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">curtispoe.org/blog/rip-mst.html</span><span class="invisible"></span></a></p><p><a href="https://infosec.exchange/tags/perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>perl</span></a> <a href="https://infosec.exchange/tags/foss" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>foss</span></a></p>