Recent Perl modules, releases and favorites.
Last updated 10 June 2026 12:30 AM
Last updated 10 June 2026 12:30 AM
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.
Data-HashMap-Shared
Release | 9 Jun 2026 04:10 PM | Author: EGOR | Version: 0.11
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 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.
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.
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.
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.
IPC-Shareable
Release | 9 Jun 2026 06:30 AM | Author: STEVEB | Version: 1.18
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.
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.
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.
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.
Log-Abstraction
Release | 9 Jun 2026 12:58 AM | Author: NHORNE | Version: 0.31
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.
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.
Geo-Address-Formatter
Release | 8 Jun 2026 10:13 PM | Author: EDF | Version: 1.9993
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.
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.
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.
Tvh-Htsp-Client
Release | 8 Jun 2026 09:05 PM | Author: ULIBUCK | Version: 0.03
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.
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.
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.
Database-Abstraction
Release | 8 Jun 2026 12:28 PM | Author: NHORNE | Version: 0.35
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.
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.
Dist-Zilla-PluginBundle-Author-DBOOK
Release | 8 Jun 2026 08:29 AM | Author: DBOOK | Version: v1.0.8
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.
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.
Mojolicious-Plugin-BarefootJS
Release | 8 Jun 2026 02:36 AM | Author: KFLY | Version: v0.10.1
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.
BarefootJS-Backend-Xslate
Release | 8 Jun 2026 02:36 AM | Author: KFLY | Version: v0.10.1
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.
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.
Game-TileMap
Release | 7 Jun 2026 06:21 PM | Author: BRTASTIC | Version: 1.001
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.
WWW-Mechanize-Chrome
Release | 7 Jun 2026 05:30 PM | Author: CORION | Version: 0.78
Automate the Chrome browser
WWW::Mechanize::Chrome lets you control a Chrome or Chromium browser from Perl using the Chrome DevTools Protocol so you can drive modern, JavaScript‑heavy websites just as a human would. It provides high‑level methods to navigate pages, run JavaScript in the page, query DOM nodes with CSS selectors or XPath, fill and submit forms, intercept and modify network requests, capture screenshots or PDFs, and manage tabs and cookies, while hiding the low‑level JSON/DevTools plumbing. You do need a Chrome/Chromium binary on the machine and there are a few browser quirks and unsupported legacy WWW::Mechanize functions, but the module excels for automated testing, scraping dynamic single‑page apps, and producing rendered output. Recent releases improved compatibility with modern Chrome versions by using a temporary data directory by default and restored screenshot support in content_as_png, making it more robust with Chrome 148+ and later.
DateTime-Format-Natural
Release | 7 Jun 2026 05:22 PM | Author: SCHUBIGER | Version: 1.27
Upvotes: 19 | CPAN Testers: Pass 100.0%
Parse informal natural language date/time strings
DateTime::Format::Natural turns casual, human-friendly date and time phrases into DateTime objects so your code can understand inputs like "next tuesday at 2am", "tomorrow morning", "10 weeks ago" or ranges like "1 April 10 am to 1 May 8am". It can also pull parsable date/time fragments out of larger text with extract_datetime, handle durations with parse_datetime_duration, and offers options to set the reference "now", choose time zone handling, control numeric date formats, prefer or demand future dates, and tweak daytime boundaries. The parser provides success() and error() so you can detect failures, and trace() for debugging, but be aware parse methods always return a DateTime object even on failure so you should check success() before using results. Recent updates add a calendar conversion layer allowing non‑Gregorian calendars and introduce built‑in holiday formats like christmas and new year, along with improved ISO8601 handling and fractional seconds support.
A grep-like program for searching source code
App::Ack is a small internal helper module for the ack command line search tool that collects a set of utility routines ack uses at runtime. It supplies ack-flavored warning and error output, prints the built-in help pages and subpages for file types and colors, returns the program version string, detects whether input is coming from a pipe, computes the proper exit code based on how many matches were found, and can show filetype associations for a filename. This module is intended for use by the ack script itself rather than as a standalone library, so most users will interact with ack directly rather than calling these functions.
The CPAN Security Advisory data as a Perl data structure, mostly for CPAN::Audit
CPANSA::DB exposes the CPAN Security Advisory dataset as a ready-to-use Perl data structure, providing a single db() subroutine that returns a hashref of all advisory reports; it is the data backend used by CPAN::Audit but can be consumed by any code that needs CPAN vulnerability or advisory information. Each release is also distributed with a GPG signature and a GitHub attestation so you can verify the archive came from the official source, and the same dataset is available as JSON and on GitHub for easy access.