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 clean,rss PerlMonks 30 Tue Apr 28 10:48:16 2026 Anonymous Monk 961 2026-04-28 20:48:16 http://perlmonks.org/ Tue Apr 28 10:48:16 2026 20260428104816 Perl Inheritance Not Working as Expected InfiniteSilence http://perlmonks.org/~perl2/bare/index.pl?node_id=11167650 So I write a response to this blogs.perl.org post titled, 'Who Tests the Tester? Me!!!... perlquestion Tue, 28 Apr 2026 18:24:08 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167650 11167650 45622 2026-04-28 14:24:08 InfiniteSilence parentheses missing in action Anonymous Monk http://perlmonks.org/~perl2/bare/index.pl?node_id=11167649 I'm using autodie so this seemed reasonable: open my $pipe, $cmds; But perl warns: Parentheses missing around "my" list at ... It works but it warns and I know why. All o... perlquestion Tue, 28 Apr 2026 18:15:21 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167649 11167649 961 2026-04-28 14:15:21 Anonymous Monk Re^2: Perl Inheritance Not Working as Expected InfiniteSilence http://perlmonks.org/~perl2/bare/index.pl?node_id=11167653 This error is just too easy to make. I used to use h2xs but it creates so much stuff that I avoid using it. I was at a Perl conference where one of the Stonehenge presenters used a 'new' tool to ... note Tue, 28 Apr 2026 19:49:12 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167653 11167653 45622 2026-04-28 15:49:12 InfiniteSilence Re: Perl Inheritance Not Working as Expected Fletch http://perlmonks.org/~perl2/bare/index.pl?node_id=11167652 If you check the new in the FakeTuple it's using the one arg'd version of <a href="http://perldoc.perl.org/functions/bless.html">bless</a> which as noted in the documentation for same isn't inheritable. The constructor should be using the... note Tue, 28 Apr 2026 19:02:23 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167652 11167652 58196 2026-04-28 15:02:23 Fletch Re: parentheses missing in action Corion http://perlmonks.org/~perl2/bare/index.pl?node_id=11167651 See <a href="https://github.com/Perl/perl5/pull/24378">https://github.com/Perl/perl5/pull/24378</a>, which discusses the heuristic.... note Tue, 28 Apr 2026 18:54:24 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167651 11167651 5348 2026-04-28 14:54:24 Corion Re^3: Interpolate variable into regexp at time of definition rather than execution, as a filter for Path::Iterator::Rule (FATAL warnings) LanX http://perlmonks.org/~perl2/bare/index.pl?node_id=11167648 So the TL;DR version is you wrote my $int - $1; instead of my $int = $1; and didn't notice the warnings. ;-) &gt; (It is unfortunate ... note Tue, 28 Apr 2026 16:02:54 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167648 11167648 708738 2026-04-28 12:02:54 LanX Re^2: Interpolate variable into regexp at time of definition rather than execution, as a filter for Path::Iterator::Rule ecm http://perlmonks.org/~perl2/bare/index.pl?node_id=11167647 Thank you, it was indeed an error on my part. I originally used $1 in the filter's regexp which does generate a similar error message (that was part of what misled me later). I also pruned a test c... note Tue, 28 Apr 2026 15:03:59 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167647 11167647 11162865 2026-04-28 11:03:59 ecm