Spotlight · Core feature · week of 2026-10-26
builtin
Lexical true, false, weaken, and friends without Scalar::Util
From 5.36, Perl keeps a small set of helpers in the builtin namespace so you can import true, false, weaken, blessed, trim, and indexed without pulling Scalar::Util. use builtin qw(true false weaken); puts those names in the current lexical scope; use v5.40; also imports the matching builtin bundle. Some names stayed experimental longer than others, so check the builtin docs for the version you ship. This is the modern replacement for a handful of dual-life utilities, not a new object system.
One-liner of the week · 2026-10-26
Tally Combined-log HTTP methods
perl -nE '/"(GET|POST|PUT|PATCH|DELETE|HEAD|OPTIONS) / and $h{$1}++; END { say "$_\t$h{$_}" for sort { $h{$b} <=> $h{$a} || $a cmp $b } keys %h }' access.log
Rank request methods from Combined Log request lines.
News
All newsUpdated 2026-10-26
-
Weekly Challenge 397 opens with Absent Smallest Positive and Binary Reflection
Week 397 of The Weekly Challenge, dated 26 October, asks for the smallest positive integer missing from an array and strictly above that array's mean, then a sort keyed on each number's reversed binary value. Mohammad Sajid Anwar posted his own solutions for week 396. Solutions are due 23:59 UK time Sunday 1 November.
-
Mojolicious 9.53 adds route shortcuts on the app and a process-based morbo
Mojolicious 9.53, dated 25 October, puts get, post, under, websocket and the other route verbs on the Mojolicious object as shortcuts onto the routes tree. morbo can now run any server command in a child process, including prefork, and gains -x to start a watched extra command such as an asset bundler; that design no longer works on native Windows fork emulation. The same week, 9.52 sped up route matching, header parsing, and keep-alive static replies.
-
Plack 1.0057 indexes the HTTP::Server::PSGI Content-Length fix
Plack 1.0057 shipped on 24 October after 1.0056 still declared version 1.0055, so PAUSE did not index that tarball. The code is the 1.0056 security cut: HTTP::Server::PSGI no longer allocates a read buffer the size of a client-supplied Content-Length (CVE-2026-115825). Malformed, negative, duplicate, or over-long Content-Length values now get 400, and Transfer-Encoding chunked is 501 instead of being passed through as the raw body.
-
Web::Simple 0.035 caps urlencoded bodies after CVE-2026-114629
Karen Etheridge released Web::Simple 0.035 on 23 October. Urlencoded request bodies are read in chunks rather than as one allocation sized by Content-Length, which is CVE-2026-114629, and MAX_BODY_SIZE now defaults to 8 MiB. 0.034 had landed two days earlier; this is the first Web::Simple cut since 0.033 in 2017.
-
Perl 5.45.4 is the fourth 5.45 development release
Eric Herman announced Perl 5.45.4 on 22 October. The perldelta records CVE-2026-107401, a greedy UTF-8 regex match that could skip every character sharing the first byte of a failed attempt, plus several other regex and defer fixes. The cut is about four weeks and 12,000 lines from 5.45.3, from 27 authors; 5.45.5 is expected on 20 November. It is a development release, not 5.46.
More
- Homelab — Pi, cron, local dashboards
- Cookbook — APIs, JSON, metrics snippets
- Ecosystem — stacks and tools
- Resources — docs and reading
- Contact · RSS / Atom · Plain text (
curl)