60 PerlMonks - Newest Nodes New nodes appearing on PerlMonks http://perlmonks.org/~perl2/bare/index.pl?node_id=30175 http://blogs.law.harvard.edu/tech/rss PerlMonks Newest Nodes XML Generator 30 Anonymous Monk Thu May 14 11:21:20 2026 rss,clean 961 http://perlmonks.org/ 2026-05-14 21:21:20 Thu May 14 11:21:20 2026 20260514112120 PerlMonks Perlmonks.com and Perlmonks.net now redirect to Perlmonks.org erzuuli http://perlmonks.org/~perl2/bare/index.pl?node_id=11167799 Following up on <a href="?node_id=11167722">Perlmonks.com and Perlmonks.net to redirect to Perlmonks.org</a> Thanks to the support of <a href="?node=ranguard">Leo Lapworth</a>, <a href="?node=oalders">Olaf Alders</a>, and Robert from Perl NOC, this site is now served from beh... monkdiscuss Thu, 14 May 2026 15:38:03 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167799 11167799 1131330 2026-05-14 11:38:03 erzuuli Re: Perl wisdom in the age of LLMs LanX http://perlmonks.org/~perl2/bare/index.pl?node_id=11167803 Yes, LLM generated code tends to replace brain with muscles in amateur hands. It's like buying bigger hardware instead of fixing an O(nē) algorithm to O(n). One doesn't need to be a mathem... note Thu, 14 May 2026 19:54:46 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167803 11167803 708738 2026-05-14 15:54:46 LanX Re^3: keys on scalar warnings and lack thereof LanX http://perlmonks.org/~perl2/bare/index.pl?node_id=11167802 What exactly do you expect from broken code? $ perl -E' $_&#91;0&#93; = {}; say keys %$_&#91;0&#93;' Experimental keys on scalar is now forbidden at -e line 1. Type of arg 1 to keys must be hash o... note Thu, 14 May 2026 18:35:15 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167802 11167802 708738 2026-05-14 14:35:15 LanX Re^2: keys on scalar warnings and lack thereof Anonymous Monk http://perlmonks.org/~perl2/bare/index.pl?node_id=11167801 I didn't include %{$_&#91;0&#93;} because it's obviously ok: perl -MDevel::Peek -e 'Dump(%{$_&#91;0&#93;})' SV = PVHV(0x157010280) at 0x15700ae40 REFCNT = 1 FLAGS = (SHAREKEYS) ARRAY = 0x0 KEYS ... note Thu, 14 May 2026 18:07:22 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167801 11167801 961 2026-05-14 14:07:22 Anonymous Monk Re: keys on scalar warnings and lack thereof ikegami http://perlmonks.org/~perl2/bare/index.pl?node_id=11167800 See <a href="?node_id=977408">Mini-Tutorial: Dereferencing Syntax</a>. The curlies in a circumfix dereference can only be omitted if they contain a simple scalar like $NAME (or $BLOCK), not something more complicated like $_&#91;0... note Thu, 14 May 2026 16:39:45 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167800 11167800 381608 2026-05-14 12:39:45 ikegami