CPANscan logo

CPANscan

Recent Perl modules, releases and favorites.
Last updated 10 June 2026 08:30 AM
Perl logo

Cucumber-Messages

Release | 10 Jun 2026 07:19 AM | Author: CUKEBOT | Version: 33.0.0
A library for (de)serializing Cucumber protocol messages
Cucumber::Messages is a Perl library that implements the standard Cucumber message protocol and provides typed classes for every message used in that protocol together with JSON/NDJSON serialization and deserialization. It gives you an in-memory representation of envelopes, pickles, test cases, steps, attachments and related objects so Perl tools can read, write and transform the same event streams other Cucumber components use. You would use it to build or integrate Perl-based formatters, reporters, runners or tooling that must exchange Cucumber messages, including support for large external attachments and timestamps. The module follows the canonical Cucumber messages spec and is available under the MIT license.
Perl logo

Backblaze-B2V4

Release | 10 Jun 2026 03:14 AM | Author: ECHERNOF | Version: 0.02
CPAN Testers: Pass 67.7%N/A 32.3%
Client library for the Backblaze B2 Cloud Storage Service V4 API
Backblaze::B2V4 is a lightweight Perl client for Backblaze B2's V4 API that makes it easy to create buckets and upload, download, list, and delete files from Perl code or from the bundled b2_client command line tool. It supports uploads from disk or from an in-memory scalar, a special path for large-file uploads (recommended for files over 100 MB), downloads by file name or by the B2 file GUID, bucket creation and deletion, listing and file metadata retrieval, and deleting specific file versions while returning B2 responses or file IDs as appropriate. You instantiate the client with your Backblaze application key and key ID and the module handles authorization token exchange and per-bucket upload info, and it exposes a send_request method if you need to call API methods not wrapped by the library. The installer can optionally test credentials by downloading a small file so store your keys securely, and if you prefer Backblaze’s S3-compatible API you may instead use generic S3 clients, but this module is focused on the native B2 API; recent updates improved the documentation and added a convenience current_status_is_ok method.
Perl logo

Map-Tube-CLI

Release | 10 Jun 2026 12:48 AM | Author: MANWAR | Version: v0.850.0
CPAN Testers: Pass 98.3%N/A 1.7%
Command Line Interface for Map::Tube::* map
Map::Tube::CLI is a simple command-line frontend for the Map::Tube family that exposes map data and routing via the supplied map-tube script. It makes it easy to ask for shortest or preferred routes between stations, print results as plain lists or neat tables, enumerate supported maps, lines, or stations, and produce PNG images of entire maps or single lines with a selectable background color. The tool supports many city metro maps out of the box, accepts local or experimental maps with a force option, and offers conveniences like line mappings, line notes, debug output, and short and long command switches. If you need quick terminal access to transit routing or want to generate visual map output from Map::Tube data this module is a practical choice. The latest release adds short option aliases, a --version flag, explicit list options, improved Unicode-aware sorting, and better handling of non-printable characters.
Perl logo

Map-Tube-Exception

Release | 10 Jun 2026 12:37 AM | Author: MANWAR | Version: 3.25
CPAN Testers: Pass 100.0%
Base exception package as Moo Role for Map::Tube::* family
Map::Tube::Exception is a small Moo role that centralizes and standardizes the error conditions used across the Map::Tube family of modules so they all throw the same named exceptions for problems like missing or invalid station and line data, bad color or map formats, plugin or map discovery failures, and route lookup errors. It is intended for module authors and integrators who want consistent, machine-friendly error reporting from map and transit-related code rather than ad hoc die strings. The bundle exposes a comprehensive set of status codes for specific problems so callers can detect and handle precise failure modes programmatically. Recent updates added an explicit exception for a missing map specification and expanded the test coverage and documentation.
Perl logo

Test-Simple

Release | 9 Jun 2026 10:52 PM | Author: EXODIST | Version: 1.302220
Upvotes: 200 | CPAN Testers: Pass 100.0%
Basic utilities for writing tests
Test::Simple is a tiny, no-frills testing toolkit for Perl that lets you write TAP-compatible tests with a single primitive. You declare how many tests you plan to run then use ok to record pass or fail and output lines like "ok 1" or "not ok 2", and the module produces sensible exit codes so harnesses and CI can tell success from failure. It is intentionally minimal to get you started quickly and is fully forward compatible with Test::More when you need richer assertions and diagnostics. Test::Simple is mature and well maintained across many Perl versions, and recent work has modernized its internals to use the newer Test2 infrastructure and cleaned up packaging and test reporting so diagnostics and line numbers are more accurate.
Perl logo

Data-HashMap-Shared

Release | 9 Jun 2026 04:10 PM | Author: EGOR | Version: 0.11
Upvotes: 1 | CPAN Testers: Pass 96.5%N/A 3.5%
Type-specialized shared-memory hash maps for multiprocess access
Data::HashMap::Shared is a high-performance, Linux-only Perl module that provides file-backed, memory-mapped hash maps for sharing typed keys and values between processes on 64-bit Perl. It offers many tuned features for concurrent use including a fast lock-free read path, futex-based writer locks, atomic increment/decrement and compare-and-swap for integer maps, optional LRU eviction and per-key TTLs, an arena for string storage, and a keyword XS API for top speed. The distribution includes multiple type-specialized variants for integer-to-integer, string-to-string and mixed maps, supports memfd and sharded maps for parallelism, and exposes iteration, batch operations, diagnostics and explicit sync/unlink controls. Be aware that integer variants store fixed-width two's-complement values and silently truncate out-of-range numbers, TTL and LRU behavior is configured at creation time, and crash recovery uses PID liveness checks so sharing across different PID namespaces is not supported. The author documents robust stale-lock recovery and automatic resizing, but warns that a writer crash can leave a single entry with partial bytes and recommends a clear after recovery for safety-critical uses.
Perl logo

GD

Release | 9 Jun 2026 02:32 PM | Author: RURBAN | Version: 2.86
Upvotes: 32 | CPAN Testers: Pass 97.4%Fail 2.6%
Perl interface to the libgd graphics library
GD is the canonical Perl interface to the libgd graphics library that lets you create, modify and export bitmap images from Perl scripts without needing a full graphics application. It provides core classes like GD::Image for pixel-level drawing and copying, GD::Font for bitmap fonts, GD::Polygon for shape building and GD::Simple for a higher-level, easier API, and it can read and write a wide range of formats including PNG, JPEG, GIF and newer types such as WEBP, HEIF and AVIF when libgd supports them. You can draw primitives, text with TrueType support, filled shapes, brushes and styled lines, apply filters and interpolation, work with alpha transparency and tiled patterns, and build animated GIFs or do scaled and rotated copies for thumbnails or transformations. If you write server side image generators, charting scripts, simple image editors or automated thumbnailers in Perl, GD gives a compact, well tested toolset to do that. This is a mature module with ongoing fixes and format autodetection improvements, and the recent 2.86 release includes an important security patch addressing a command injection issue in a two-argument open call.
Perl logo

Novel-Robot

Release | 9 Jun 2026 12:51 PM | Author: ABBYPAN | Version: 0.47
CPAN Testers: Pass 100.0%
Download novel /bbs thread
Novel::Robot is a small Perl toolkit for automating the collection, cleanup, and packaging of serialized web fiction; it gives you a Browser component to fetch chapters from web sites, a Parser to extract and sanitize chapter content, and a Packer to assemble those chapters into distributable files such as plain text or e-book packages. The suite is geared toward developers who need predictable, programmatic control to gather multi-chapter novels from the web and convert them into single readable outputs. If you want to automate scraping and conversion of online fiction rather than read it manually, this module set is directly relevant.
Perl logo

NetAddr-MAC

Release | 9 Jun 2026 12:41 PM | Author: DJZORT | Version: 1.01
Upvotes: 1 | CPAN Testers: Pass 100.0%
MAC hardware address functions and object (EUI48 and EUI64)
NetAddr::MAC is a small library for parsing, validating, formatting and manipulating hardware MAC addresses with both an object oriented API and a set of simple functional helpers. It understands EUI‑48 and EUI‑64 forms, accepts many common input styles, and can normalize addresses into Cisco, IEEE, Microsoft, PostgreSQL, Token Ring and other vendor formats or produce the IPv6 autoconfiguration suffix. You can query address properties such as unicast, multicast, broadcast, locally versus universally administered, VRRP and HSRP patterns, convert between EUI‑48 and EUI‑64, and generate random addresses from a given OUI or prefix. Error handling defaults to returning undef with an accessible error string but can be configured to croak instead. The module deliberately omits vendor OUI lookups so use Net::MAC::Vendor for that task. This is a practical utility for network scripts and tools that need reliable MAC address parsing and formatting.
Perl logo

IP-Country-DB_File

Release | 9 Jun 2026 09:52 AM | Author: NWELLNHOF | Version: 4.00
CPAN Testers: Pass 100.0%
IPv4 and IPv6 to country translation using DB_File
IP::Country::DB_File is a lightweight Perl module that maps IPv4 and IPv6 addresses to country codes by looking them up in a local Berkeley DB file. You build the database first with the included builder or the build_ipcc.pl script which compiles regional internet registry statistics into the DB and now fetches those files via HTTPS. Lookups are fast and done in pure Perl so the runtime has minimal dependencies and Math::Int64 is only needed when building IPv6 databases. The module mirrors the familiar IP::Country API and provides methods like inet_atocc and inet6_atocc as well as packed-address variants. Results are typically ISO‑3166 two-letter codes with a few generic codes like EU or AP, private ranges return "**", and failures return undef. This is a good fit if you want an offline, dependency-light, reasonably accurate IP-to-country solution without relying on third-party services.
Perl logo

IPC-Shareable

Release | 9 Jun 2026 06:30 AM | Author: STEVEB | Version: 1.18
Upvotes: 4 | CPAN Testers: Pass 97.8%Fail 2.2%
Use shared memory backed variables across processes
IPC::Shareable lets you tie Perl variables to System V shared memory so multiple processes can share the same scalar, array, hash or complex data structure with minimal fuss. By default it serializes data as JSON for cross-language interoperability and portability, with Storable as an option when you need Perl-specific features like blessed objects, and it will automatically use JSON::XS if available for much better speed. Nested references are stored in separate child segments so deeply nested structures work naturally, but that increases the number of OS shared-memory segments and semaphores used so you should be aware of system limits. The module exposes lock and unlock methods and optional enforcement and warning flags to protect against concurrent read and write races while still relying on advisory locking among cooperating processes. It also includes conveniences such as a singleton helper to prevent multiple script instances, tools to inspect segments and semaphores, and targeted cleanup and testing helpers to remove orphaned segments left by crashed runs. Note that locks are inherited across forked children and that automatic segment destruction runs only on clean exits so you may need signal handlers when using the destroy option. If you need to share configuration or runtime state between Perl programs or across languages, IPC::Shareable gives you a pragmatic, feature rich way to do it while surfacing useful diagnostics and cleanup controls.
Perl logo

SPVM

Release | 9 Jun 2026 06:18 AM | Author: KIMOTO | Version: 0.990183
Upvotes: 36 | CPAN Testers: Pass 96.8%N/A 3.2%
The SPVM Language
SPVM is a compact, statically typed language that uses a Perl-like syntax and is aimed at high performance and easy integration with existing Perl and C/C++ code. You can run short programs with the spvm command, compile scripts into standalone binaries or libraries with spvmcc, and call SPVM methods directly from Perl using the SPVM module, so SPVM is useful both for standalone apps and for embedding fast components in Perl programs. The language offers static types with inference and analysis, ahead-of-time and just-in-time compilation, native threading and coroutine-style goroutines, a resource and builder system to produce and link native code, and hooks to bind C and C++ libraries. Development is active and the distribution includes examples, a tutorial and a builder toolchain for producing executables and extension libraries. Note that SPVM has not reached a stable 1.0 release and the project does not guarantee backward compatibility between releases. A recent notable improvement added a group of native C function APIs such as getenv, setenv, malloc, free and localtime to make native bindings and platform interoperability more complete.
Perl logo

List-Search

Release | 9 Jun 2026 02:31 AM | Author: RAPIDCOW | Version: 0.44
CPAN Testers: Pass 100.0%
Fast searching of sorted lists
List::Search is a compact Perl utility for very fast lookups in sorted arrays, using a binary search to return the index of the first element equal to or greater than a given key and -1 when there is no match. It provides string, numeric and custom-comparator entry points so you can search lists sorted with cmp, <=> or any user supplied comparison routine, and it also offers convenience functions that just test membership. The module is ideal when you keep data in sorted order and need either quick membership checks or the correct insertion point without scanning the whole list. Recent maintenance moved the source to Codeberg and fixed packaging and export issues while ensuring the contains helpers reliably return false on misses, so the module remains small, well tested and easy to drop into existing Perl scripts.
Perl logo

Sub-Protected

Release | 9 Jun 2026 02:07 AM | Author: NHORNE | Version: 0.01
CPAN Testers: Pass 100.0%
Enforce protected subroutine access (Java/C++ semantics)
Sub::Protected provides Java/C++ style protected access control for Perl subs so you can mark helper methods as callable only from their defining package or from subclasses. You enable it by adding the :Protected attribute to a subroutine or by listing sub names in use Sub::Protected qw(...), and the module wraps those subs at CHECK time so out-of-scope calls croak with a clear error. It offers test-friendly bypasses via $Sub::Protected::BYPASS or the HARNESS_ACTIVE convention and has a simple runtime configuration hash for disabling the harness bypass. Note that enforcement is runtime only, a raw coderef captured before wrapping can bypass the check, applying method modifiers afterwards may wrap the wrapper, the attribute is installed in UNIVERSAL so it affects the global namespace, and the implementation uses unguarded package globals so concurrent use across threads is not recommended.
Perl logo

Log-Abstraction

Release | 9 Jun 2026 12:58 AM | Author: NHORNE | Version: 0.31
CPAN Testers: Pass 100.0%
Logging Abstraction Layer
Log::Abstraction is a compact logging layer for Perl that gives you a single, familiar API with standard levels like trace, debug, info, notice, warn and error/fatal while letting you send messages to many different backends such as code references, arrays, files or file descriptors, syslog, or a built‑in sendmail helper for alert emails. You configure it via constructor arguments, a config file or environment variables and can customize output with a format string that expands tokens like timestamp, level, message and environment values. The object keeps a per‑instance history of emitted messages, supports cloning with overrides and method chaining, and falls back to initializing Log::Log4perl when no backend is supplied. Options let you escalate warn and error to Carp carp or croak behavior and the sendmail backend supports rate limiting so you do not flood recipients. The module is GPL2 licensed, provided as‑is without warranty, and is handy whenever you need a flexible, backend‑agnostic logging solution for Perl applications.
Perl logo

Strada

Release | 8 Jun 2026 11:35 PM | Author: MJFLICK | Version: 1.0
Upvotes: 1 | CPAN Testers: Unknown 100.0%
Call compiled Strada shared libraries from Perl
Strada is a Perl interface for loading and calling functions compiled into Strada shared libraries so you can call native Strada code from Perl with minimal friction. It provides both a low level handle-and-function API and a higher level Strada::Library object that loads a .so, lists and describes exported functions, reports the library version, and calls functions by name using either C-style or package::function syntax. Common Strada types map automatically to Perl scalars and references so ints, numbers, strings, arrays, hashes and undef convert back and forth, and variadic functions are supported by passing an array reference. Argument limits are removed when built with libffi otherwise calls are limited to four arguments. The module requires the Strada runtime headers and Perl development headers to build and is distributed under GPLv2.
Perl logo

Geo-Address-Formatter

Release | 8 Jun 2026 10:13 PM | Author: EDF | Version: 1.9993
Upvotes: 3 | CPAN Testers: Pass 98.9%N/A 1.1%
Format structured address data according to various global/country rules
Geo::Address::Formatter converts a structured postal address (a Perl hash of components) into a readable, correctly ordered multiline address for the appropriate country using community-maintained templates. You supply a configuration path to the OpenCage address-formatting templates and then call format_address with your components and options such as country override, language-aware abbreviations, a custom template, or an only_address mode to omit non-address POI text. The module also provides instance creation for reuse in long-running processes and a final_components method to inspect the cleaned and normalized components produced during formatting. It is designed to handle the quirks of 200+ countries and comes with extensive test coverage via the templates repository at GitHub. The most recent updates bump required versions of Text::Hogan, Clone, and YAML::LibYAML for compatibility and earlier releases added speed improvements and a reusable instance method.
Perl logo

Atomic-Pipe

Release | 8 Jun 2026 10:12 PM | Author: EXODIST | Version: 0.030
Upvotes: 2 | CPAN Testers: Pass 100.0%
Send atomic messages from multiple writers across a POSIX pipe
Atomic::Pipe is a Perl utility that guarantees whole, non-mangled messages when multiple processes or threads write into the same POSIX pipe. It breaks each message into PIPE_BUF-sized atomic chunks with a small header so readers can reassemble complete messages even when writers interleave, and it provides simple methods like pair(), write_message(), and read_message() for common use. There is a mixed-data mode that lets you mix ordinary stdout/stderr text with inline atomic bursts so you can extract structured payloads from noisy output, but it relies on three control characters so printing arbitrary binary data that includes those codes can confuse the parser. The module can also transparently compress messages and bursts with Zstandard to reduce wire size and often speed up large-message workloads, and it supports custom dictionaries and options for blocking, nonblocking, buffering, and pipe buffer resizing. It only works on POSIX-compliant pipes and platforms, and Zstd support is optional via Compress::Zstd and requires both ends to agree on settings. If you need robust inter-process message boundaries across multiple writers or want to embed atomic payloads inside normal output streams, Atomic::Pipe is a convenient, battle-tested solution.
Perl logo

Text-Hogan

Release | 8 Jun 2026 09:46 PM | Author: EDF | Version: 2.04
Upvotes: 1 | CPAN Testers: Pass 100.0%
Text::Hogan - A mustache templating engine statement-for-statement cloned from hogan.js
Text::Hogan is a Perl implementation of the Mustache templating engine that is a statement-for-statement port of Twitter's hogan.js. It lets you compile Mustache templates into pure Perl code so templates render very quickly while remaining fully compliant with the Mustache specification. You work with a Compiler to produce Template objects and then render those templates against your data, making this a good fit for Perl projects that need portable, fast, and hogan.js-compatible templating.
Perl logo

Tvh-Htsp-Client

Release | 8 Jun 2026 09:05 PM | Author: ULIBUCK | Version: 0.03
CPAN Testers: Pass 68.0%Fail 32.0%
A Tvheadend HTSP client library written in perl
Tvh::Htsp::Client is a compact Perl library for talking to a Tvheadend server over its HTSP protocol, intended for scripts that need to query channels, control the server, or extract the electronic program guide. It provides a simple constructor and methods to send and receive HTSP messages and to call Tvheadend's JSON API through HTSP, plus helpers to look up channel names and IDs so you can easily build queries or map results back to channels. The module also includes a raw deserialization routine that can decode HTSP message blobs and can be used to unpack epgdb.v3 dumps, which makes it handy for exporting EPG data to JSON. Recent releases added a channel UUID/ID lookup and the htsmsg_deserialise method to simplify parsing stored or streamed HTSP data. If you need to integrate Tvheadend into Perl tools or automate EPG and channel access, this module provides a straightforward, ready-to-use client.
Perl logo

Catalyst-Plugin-Authorization-ACL

Favorite | 8 Jun 2026 07:26 PM | Author: RKITOVER | Version: 0.16
Upvotes: 1 | CPAN Testers: Pass 100.0%
ACL support for Catalyst applications
Catalyst::Plugin::Authorization::ACL adds simple, path-oriented ACL support to Catalyst applications by letting you attach allow and deny rules to private action paths. You can express rules as role lists (when used with Catalyst::Plugin::Authorization::Roles), predicate subs or methods, or constant true/false, and there is also a flexible rule API that can use exceptions to explicitly allow or deny. Rules are checked from the most specific path outward and short circuit when a rule explicitly permits or blocks access, otherwise access is allowed by default. Denials can be handled by providing a private access_denied action, by using the provided acl_access_denied and acl_access_allowed hooks, or by calling forcibly_allow_access from the handler to continue execution. If you need straightforward per-path access control integrated into Catalyst private namespaces this module is a light, well maintained option and recent releases added convenience helpers for role-any checks and routine maintenance fixes.
Perl logo

Dist-Zilla-Plugin-GenerateFile-FromShareDir

Release | 8 Jun 2026 06:26 PM | Author: ETHER | Version: 0.016
CPAN Testers: Pass 100.0%
Create files in the repository or build, using a sharedir template
Dist::Zilla::Plugin::GenerateFile::FromShareDir is a Dist::Zilla plugin that creates files in your distribution or repository from Text::Template templates stored in another distribution's sharedir. You give it the source template name and a destination filename, choose whether the generated file goes into the build or directly into the repo, and any extra configuration keys are passed into the template alongside handy objects like $zilla and $plugin. It supports specifying the source encoding (defaults to UTF-8) and lets you control when repository writes happen with a phase option. This is handy when you want bundles or other reusable dists to provide ready-made templates for multiple projects; if your template lives only in the current dist you can instead use GatherDir::Template or GenerateFile. The most recent release made a documentation fix to the -dist option.
Perl logo

Database-Abstraction

Release | 8 Jun 2026 12:28 PM | Author: NHORNE | Version: 0.35
CPAN Testers: Pass 93.2%Fail 6.8%
Read-only Database Abstraction Layer (ORM)
Database::Abstraction is a lightweight, read-only ORM-like layer for Perl that lets you access CSV, PSV, XML, SQLite and BerkeleyDB data without writing SQL by providing a single, consistent API for fetching rows, columns and counts. You typically subclass it per dataset and then call methods such as fetchrow_hashref, selectall_arrayref or use the AUTOLOAD feature to retrieve a column by name, and it includes configurable caching, flexible logging and a "slurp" mode that keeps small files in memory for speed. It is useful when you need to switch underlying storage formats without changing application logic or when you want simple, read-heavy data access with minimal code. A few legacy quirks remain to be aware of, notably the default CSV delimiter is '!' rather than ',' and the module uses an "entry" column name by default, and XML slurping can be fragile on some files, but recent maintenance continues to improve reliability. The latest release fixed path handling for safer file opens and addressed a DBD::File safety check by canonicalizing directory paths.
Perl logo

HTTP-Tiny

Release | 8 Jun 2026 09:23 AM | Author: HAARG | Version: 0.096
Upvotes: 116 | CPAN Testers: Pass 93.3%Fail 6.7%
A small, simple, correct HTTP/1.1 client
HTTP::Tiny is a small, dependency-light HTTP/1.1 client for Perl that makes simple web requests without the overhead of a full user-agent like LWP::UserAgent. It supplies convenient methods for GET/POST/PUT/HEAD/PATCH/DELETE requests, a post_form helper, mirror for saving responses to files, streaming data callbacks, proxy and cookie-jar support, connection keep-alive and timeouts, and basic HTTPS when IO::Socket::SSL and Net::SSLeay are available. The module focuses on correct transport behavior and safe defaults, including TLS certificate verification turned on by default and recent security hardening that strips caller-supplied Authorization, Cookie and Proxy-Authorization headers on cross-origin redirects and prevents automatic https-to-http downgrades unless explicitly allowed. HTTP::Tiny is ideal when you need a reliable, simple HTTP client for scripting and small programs but not a full-featured browser emulator, and callers are expected to provide properly escaped URLs and handle higher-level features themselves.
Perl logo

Dist-Zilla-PluginBundle-Author-DBOOK

Release | 8 Jun 2026 08:29 AM | Author: DBOOK | Version: v1.0.8
CPAN Testers: Pass 96.1%Fail 3.9%
A plugin bundle for distributions built by DBOOK
Dist::Zilla::PluginBundle::Author::DBOOK is a prepackaged set of Dist::Zilla plugins that encodes the build, test, and release workflow Dan Book uses for his CPAN distributions. It wires together metadata generation for GitHub, README and CONTRIBUTING file creation, prereqs discovery from cpanfile or prereqs.json/yml, contributor tracking, git checks, version bumping, tagging and pushing, and common test and manifest handling so you can build and release a module with consistent, repeatable behavior. The bundle also lets you choose the installer plugin, enable POD tests, control the GitHub username used in metadata, and run a dry run of release steps via FAKE_RELEASE. It assumes your repo carries the usual prereq and Changes files and can regenerate files into the repository so the project can be built or installed without Dist::Zilla. Recent updates moved the CONTRIBUTING.md template into the distribution sharedir and added an AI contributions policy to that template.
Perl logo

Wanted

Release | 8 Jun 2026 06:06 AM | Author: JDEGUEST | Version: v0.1.1
Upvotes: 3 | CPAN Testers: Pass 100.0%
Extended caller context detection
Wanted is an XS extension that generalises Perl's wantarray so a subroutine can detect exactly how its return value will be used and tailor that return accordingly. It provides a simple want(...) interface plus helpers like wantref/howmany/context and replacement return primitives rreturn and lnoreturn for proper behaviour in lvalue and assignment situations, and it understands VOID, SCALAR, LIST, BOOL, LVALUE/RVALUE, reference types and assignment contexts so you can return scalars, lists, references or perform assignment side effects based on the caller's expectations. Wanted is a maintained fork of the older Want module with fixes for crashes that could occur in threads, tie methods and mod_perl handlers, and it also works with threads by preserving context at thread creation. Be aware of two limits inherited from Perl internals: lvalue context cannot reliably be detected inside eval blocks in modern Perls and want('CODE') can be misleading in scalar context when prototypes are involved, so avoid relying on those cases or use the documented workarounds.
Perl logo

Mojolicious-Plugin-BarefootJS

Release | 8 Jun 2026 02:36 AM | Author: KFLY | Version: v0.10.1
CPAN Testers: Pass 94.5%N/A 5.5%
Mojolicious integration for BarefootJS
Mojolicious::Plugin::BarefootJS makes it easy to run the BarefootJS server runtime inside a Mojolicious app by registering a "bf" helper that lazily creates a per-request BarefootJS instance backed by BarefootJS::Backend::Mojo and lets you render compiled marked templates as native Mojolicious templates. Install it with $self->plugin('BarefootJS') and then call the bf helper from controllers or templates to produce server-rendered output with the BarefootJS tooling you already use. If you prefer not to run under Mojolicious or PSGI, the same runtime can be driven by BarefootJS::Backend::Xslate using Text::Xslate. The plugin is lightweight, integrates with Mojolicious hooks, and has seen active maintenance through 2026 with recent releases that delivered the initial feature set including the bf helper, the Mojo backend, and a DevReload helper.
Perl logo

BarefootJS-Backend-Xslate

Release | 8 Jun 2026 02:36 AM | Author: KFLY | Version: v0.10.1
CPAN Testers: Pass 96.1%N/A 3.9%
Text::Xslate (Kolon) rendering backend for BarefootJS
BarefootJS::Backend::Xslate is a lightweight rendering backend that lets the BarefootJS runtime render Text::Xslate Kolon templates. It works with a plain Text::Xslate instance so it has no web-framework dependency and runs in PSGI/Plack apps or standalone scripts. Designed to be paired with the @barefootjs/xslate compile-time adapter, it expects templates that call the runtime as a "bf" object and builds Text::Xslate for HTML with automatic escaping while supporting raw markup via mark_raw. You can construct it with an existing Text::Xslate object or by giving template paths and options, and you can override the JSON encoder. The module exposes the small set of operations the runtime needs, including encode_json, mark_raw, materialize and render_named, making it a drop-in bridge between BarefootJS and Xslate templates.
Perl logo

Object-HashBase

Release | 7 Jun 2026 07:41 PM | Author: EXODIST | Version: 0.017
Upvotes: 1 | CPAN Testers: Pass 100.0%
Build hash based classes
Object::HashBase is a small helper for quickly creating hash-backed Perl classes with an automatic new constructor, simple getter and setter methods, and constants for each field so you can avoid string-typos when accessing the underlying hash. You declare attributes when you import the module and use short prefixes to control behavior such as read-only, write-only, deprecated setters, no-setter, constant-only, or forcing a non-XS implementation. Construction works with key/value pairs, a copied hashref, or an ordered arrayref, and you get an init hook plus optional pre/post init hooks for defaulting and setup; single inheritance is supported and constants are propagated to subclasses. Recent releases added Role::Tiny integration and convenient import prefixes for declaring parent classes and composing roles, making it easier to use HashBase in role-based designs. If Class::XSAccessor is installed HashBase will create faster XS accessors by default, but note that taking raw references to object slots can break when XS is used, and you can opt out per-attribute with the '~' prefix. This module is a good fit when you want lightweight, dependency-light objects and clear, conventional accessors without a heavy object system.
Perl logo

Game-TileMap

Release | 7 Jun 2026 06:21 PM | Author: BRTASTIC | Version: 1.001
CPAN Testers: Pass 99.3%N/A 0.7%
Representation of tile-based two-dimensional rectangular maps
Game::TileMap lets you define and query rectangular two-dimensional tile maps from simple string or array input by pairing character markers with objects in a reusable legend. It builds an immutable grid of Tile objects and supports single- or multi-character tiles, custom classes of objects (for example terrain, walls, or spawn points), and special handling for walls and voids. The module uses a bottom-left origin at [0,0], accepts decimal coordinates for containment and accessibility checks, and provides methods to fetch a tile, list all tiles of a class or type, render the map to a string, and mark positions for debugging. It is best used for static level layouts and map definitions rather than tracking dynamic game state, and you should note that map markers cannot be whitespace and legend entries must be truthy.