CPANscan logo

CPANscan

Recent Perl modules, releases and favorites.
Last updated 9 August 2026 12:31 AM
Perl logo

Net-Firewall-BlockerHelper

Release | 8 Aug 2026 10:37 PM | Author: VVELOX | Version: v0.2.0
CPAN Testers: Pass 89.9%Fail 10.1%
Helps with managing firewalls for banning IPs
Net::Firewall::BlockerHelper is a lightweight Perl helper for programmatically managing IP bans across multiple firewall backends. It exposes a simple API to initialize and teardown firewall rules, ban and unban IPv4 and IPv6 addresses, handle CIDR ranges when the chosen backend supports them, list current bans, flush all bans, and reapply rules. The module validates ports, protocols, IPs and CIDRs, offers a configurable self_heal mode that checks and restores the backend setup before each action, and delegates actual rule work to backend implementations such as ipfw. Error handling is done via Error::Helper and failures are treated as fatal, making this module a practical choice for scripts or services that need a uniform way to manage blocking across different firewalls.
Perl logo

POE-Component-Server-JSONUnix

Release | 8 Aug 2026 08:32 PM | Author: VVELOX | Version: v0.2.1
CPAN Testers: Pass 13.2%Fail 86.0%N/A 0.9%
Pluggable JSON-over-Unix-socket server for POE
POE::Component::Server::JSONUnix is a compact, event-driven server you can drop into a Perl app to expose a simple JSON request/response API over a Unix domain socket. It speaks newline-delimited JSON where each message names a command and carries optional arguments and an id, and handlers are just a dispatch table you register at startup, at runtime, or by subclassing. Handlers may return results synchronously, raise errors, or operate asynchronously by holding a context object and replying later, so it fits both simple control commands and longer-running work. The component includes built-in discovery and health checks, optional authentication via either a cookie ownership challenge or kernel peer credentials on supported platforms, and an optional per-command permission policy that can restrict access by user or group. Errors and malformed input are turned into safe error responses so other clients and the server stay intact. It is ideal as a local RPC or control endpoint for daemons, command-line tools, cron jobs, and other processes on the same host.
Perl logo

Algorithm-Classifier-IsolationForest

Release | 8 Aug 2026 07:39 PM | Author: VVELOX | Version: v0.7.0
CPAN Testers: Pass 75.0%Fail 25.0%
Unsupervised anomaly detection via Isolation Forest or Extended Isolation Forest
Algorithm::Classifier::IsolationForest is a Perl implementation of Isolation Forest and Extended Isolation Forest for unsupervised anomaly detection that scores and flags outliers in multivariate numeric data. It supports classic axis-aligned trees or oblique hyperplane splits for elongated or multimodal data, offers a majority-voting aggregation mode, can learn a contamination cutoff from training data, and provides both batch and streaming (Online) variants. The module includes practical features for production use such as saving/loading models as JSON, named-feature and munger support to convert tagged input into numeric features, a packed-data wrapper for repeated fast scoring, and optional native acceleration via Inline::C and OpenMP that yields large speedups while preserving result parity with the pure-Perl implementation. Recent releases added fit_from_csv for training directly from very large CSV files without slurping them into memory and explain_samples which reports per-feature attributions (ablation and path methods) to help you understand why a point was scored as anomalous. If you need a robust, configurable anomaly detector for offline, interactive or streaming workflows that can scale with optional native acceleration and offers model persistence and explainability, this module is likely relevant.
Perl logo

IO-K8s

Release | 8 Aug 2026 06:55 PM | Author: GETTY | Version: 1.105
Upvotes: 6 | CPAN Testers: Pass 75.0%Fail 25.0%
Objects representing things found in the Kubernetes API
IO::K8s provides typed Perl objects and serialization helpers for working with Kubernetes resources, letting you convert between JSON, YAML and Perl structures while ensuring the correct types that Kubernetes expects. It can load and validate YAML manifests including multi-document files, collect validation errors, construct objects programmatically, serialize to YAML or JSON, and save manifests to disk. The module supports Custom Resource Definitions by letting you write small CRD classes or by auto-generating classes from a cluster OpenAPI spec, and it can merge external resource maps such as Cilium to add third‑party CRDs and handle name collisions. IO::K8s is designed to work with Kubernetes::REST for live CRUD operations and exposes convenient methods like inflate, json_to_object and object_to_struct to move data between formats. Be aware that the library was rewritten for this major release, moving from Moose to Moo and replacing individual List classes with a unified List class, so upgrading may require code changes.
Perl logo

Crypt-OpenSSL-PKCS12

Release | 8 Aug 2026 05:37 PM | Author: JONASBN | Version: 1.98
Upvotes: 3 | CPAN Testers: Pass 100.0%
Perl extension to OpenSSL's PKCS12 API
Crypt::OpenSSL::PKCS12 is a Perl wrapper around OpenSSL's PKCS#12 API that makes it easy to read, create and manipulate .p12/.pfx bundles from Perl. You can load a PKCS12 blob from a file or string and extract the end-entity certificate, CA chain and private key as PEM, verify the bundle MAC, change the bundle password or create a new PKCS12 file or raw DER string, and obtain the same human-readable info output that the openssl command produces or receive that information as a structured hash. The module supports OpenSSL 1.x and 3.x but changing passwords is not reliably supported on OpenSSL 3.x so recreating the file may be preferable, and it offers flags to suppress keys or certificates when dumping. It requires an OpenSSL installation and Perl 5.14 or later, and recent releases include important security fixes and crash bug fixes so upgrading to the latest version is recommended.
Perl logo

Crypt-OpenSSL-X509

Release | 8 Aug 2026 05:32 PM | Author: JONASBN | Version: 2.1.4
Upvotes: 8 | CPAN Testers: Pass 88.9%Unknown 11.1%
Perl extension to OpenSSL's X509 API
Crypt::OpenSSL::X509 is a Perl wrapper around OpenSSL's X.509 API that makes it simple to load, inspect and reformat X.509 certificates from files or in-memory data, in PEM or ASN.1 form. It exposes high-level accessors for common certificate fields such as subject, issuer, serial, validity dates, public key details and fingerprints, plus helpers to check expiry, test for self-signed certs and emit the cert back as PEM or DER. The module also parses extensions and Subject Alternative Names, returns extension and name objects you can query by OID or friendly name, and provides convenience routines for key IDs, bit strings and extended key usages; note that some extension helpers will croak on malformed DER so you should guard calls when handling untrusted input. It is actively maintained for compatibility across a wide range of OpenSSL and LibreSSL releases including OpenSSL 4.x. Recent releases include important security hardening and bug fixes addressing two CVEs and several memory and parsing issues, so updating to the latest version is strongly recommended.
Perl logo

Tie-Google-Sheets

Release | 8 Aug 2026 05:14 PM | Author: PLICEASE | Version: 0.01
CPAN Testers: Pass 100.0%
Tie perl variables to Google Sheets
Tie::Google::Sheets lets you treat a Google Sheets document like a Perl hash by mapping worksheet titles to hashes of A1 cell addresses so you can read and write cells with simple Perl syntax such as $doc{Sheet}{A1}. You create the tie with a spreadsheet id or URL and authenticate with a Google service account JSON key or a supplied OAuth bearer token, and you can create, list or delete sheets either by assigning or deleting top-level hash keys or by calling methods on tied(%doc). The module exposes only cell values, not formatting or formula metadata, and every cell access issues a separate Google Sheets API call so it is not optimized for bulk operations. Remember to share the spreadsheet with the service account email and that a spreadsheet must always retain at least one worksheet so you cannot clear the tied hash completely.
Perl logo

Open-API

Release | 8 Aug 2026 05:06 PM | Author: LNATION | Version: 0.06
CPAN Testers: Pass 100.0%
OpenAPI 3.1 server and client
Open::API is a focused OpenAPI 3.1 toolkit that compiles a single spec at startup and gives you both a high-performance PSGI server and a spec-driven HTTP client. You hand it a hashref, JSON or YAML text, or a filename and it precompiles every parameter, header, cookie and body schema via JSON::Schema::Fast so routing and validation happen on a fast C path. Handlers are wired by operationId and receive typed, default-filled inputs with cookie parsing and decoded bodies, and you get optional response validation plus before and after hooks for authentication and response mutation. It supports nonblocking Futures on compatible servers, fails fast on malformed specs or duplicate operationIds, and the same compiled object drives Open::API::Client when Fetch is available. The module only supports OpenAPI 3.1, requires JSON::Schema::Fast, and is released as version 0.01.
Perl logo

File-ValueFile

Release | 8 Aug 2026 04:43 PM | Author: LION | Version: v0.11
CPAN Testers: Pass 100.0%
Module for reading and writing ValueFile files
File::ValueFile is a compact Perl utility module that supplies global helpers for working with ValueFile-formatted data and is intended to be used together with File::ValueFile::Simple::Reader and File::ValueFile::Simple::Writer rather than as a full reader or writer itself. It provides known() to enumerate well known tag identifiers and add_utf8_marker() to register formats or features that should be treated as UTF-8, accepting identifiers in the Data::Identifier form so the Simple reader and writer can autodetect encoding and tag formats. The module acts as a central place to manage tag and encoding behavior across the File::ValueFile tools. The recent v0.11 release added support for writing multiple tag names, accepts Data::Identifier objects for tag names, fixed comment encoding issues, and updated dependencies.
Perl logo

Catalyst-Plugin-Authentication

Release | 8 Aug 2026 04:26 PM | Author: ETHER | Version: 0.10028
Upvotes: 12 | CPAN Testers: Pass 92.0%Fail 4.0%Unknown 4.0%
Infrastructure plugin for the Catalyst authentication framework
Catalyst::Plugin::Authentication is the core authentication layer for Catalyst web applications that supplies a pluggable, realm-based system to verify and manage users. It separates credential verification from user storage by pairing credential plugins with store backends into named realms, so you can authenticate against a simple in-memory hash, a DBIx::Class model, LDAP, or other sources without changing your application logic. It integrates with Catalyst sessions to persist login state and can rotate session IDs to help mitigate session-fixation attacks. Your app interacts with it through simple methods such as $c->authenticate to log users in, $c->user and $c->user_exists to inspect the current user, $c->logout to end a session, and $c->find_user and persist_user to manage stored identities. The plugin is designed to be extended by many credential and store modules and works with authorization plugins like Roles and ACL. Be aware that the API moved to a realms-based design in version 0.10 and a compatibility mode exists for older credential and store modules.
Perl logo

Amazon-API

Release | 8 Aug 2026 02:41 PM | Author: BIGFOOT | Version: v2.4.6
Upvotes: 1 | CPAN Testers: Pass 86.4%Fail 9.1%N/A 4.5%
Amazon::API
Amazon::API is a lightweight, generic Perl client for calling Amazon Web Services that you can use directly for simple REST-style requests or as a base class to generate full, service-specific modules from Botocore metadata with the included amazon-api tool. It focuses on giving you a DIY kit to install and call only the AWS methods you need while handling signing, content-type selection, pagination and response decoding so you can talk to most AWS services without a large SDK. The module works best when you generate stubs and shape classes from Botocore metadata so requests and responses are serialized correctly, it integrates with a small credential provider and supports debugging and different error-handling modes, and the author explicitly recommends Paws for users who want a full-featured, community-supported SDK. Recent updates in the 2.4.6 release improve parameter validation and give you global control over validation level via VALIDATE_MODE, add support for loading and unloading header-located request members, and harden serialization around blobs and timestamps so Botocore-based requests are more reliable. It is production-ready for many APIs but the author cautions that some services have unique quirks and that S3 in particular is better served by dedicated S3 modules.
Perl logo

String-Super

Release | 8 Aug 2026 02:33 PM | Author: LION | Version: v0.03
CPAN Testers: Pass 76.2%N/A 23.8%
Compactor for superstrings
String::Super is a small Perl utility for packing a set of strings into a single compact superstring that contains every input as a substring. You feed it raw 8-bit blobs with add_blob or text with add_utf8, then call compact or simply ask for result or offset which will trigger compaction automatically. The module trades off between optimality and computation cost to produce a reasonably small result rather than trying to solve the NP-hard exact problem, so it is useful for reducing duplication, packing resources, shrinking embedded data, or aiding simple compression and string-analysis tasks. It is binary safe and returns both the combined blob and the byte offsets of each original input via offset. An experimental prefix_blob option lets you pin one blob to offset zero when absolute placement matters, though that can force less efficient packing. Recent releases added the experimental prefix_blob feature and a minor spelling fix; the API is straightforward and the module dies on error to make failure handling explicit.
Perl logo

Amazon-Credentials

Release | 8 Aug 2026 02:31 PM | Author: BIGFOOT | Version: v1.3.2
Upvotes: 1 | CPAN Testers: Pass 95.5%N/A 4.5%
Amazon::Credentials
Amazon::Credentials is a Perl utility that locates and returns AWS credentials by walking a configurable chain of providers until it finds usable keys. It supports credentials from environment variables, container endpoints (ECS, Lambda, Fargate, EKS Pod Identity), EC2 instance profiles via IMDSv2, OIDC web‑identity tokens (EKS IRSA and GitHub Actions), and local AWS config/credentials files including credential_process and SSO. The module exposes a simple constructor with options to control search order, timeouts, caching, region and logging, plus helpers to check expiration, refresh temporary tokens, and fetch SSO role credentials or set environment variables for them. Security-conscious defaults include IMDSv2 enabled and closure-based storage of secrets so they do not appear in dumps or logs. You can avoid metadata timeouts by setting AWS_EC2_METADATA_DISABLED, lowering the timeout, or supplying an explicit search order. One limitation is that it will not automatically resolve role profiles that require assuming a role via a source profile in the credentials file, though web‑identity federation is supported. Recent 1.3.2 fixes improve web‑identity error reporting and token handling and add JWT claim decoding.
Perl logo

File-URIList

Release | 8 Aug 2026 12:47 PM | Author: LION | Version: v0.05
CPAN Testers: Pass 79.2%N/A 20.8%
Module for reading and writing RFC 2483 URI lists
File::URIList is a compact Perl utility for reading and writing URI list files under RFC 2483 so you can parse, produce, or transform lists of URIs in a predictable way. It offers streaming reads via callbacks or bulk reads into an array, and lets you append URIs or comments back to the file, with automatic conversion of plain strings into URI objects and integration with the Data::Identifier family for optional type conversion. The reader exposes configurable policies for blank lines, extra surrounding spaces, missing schemes, and leading slashes, and you can supply a base URI to resolve relative entries which is useful when working with M3U-style files. The module defaults to strict parsing and will die on errors, and its rewind and clear operations require a seekable filehandle so be careful when mixing reads and writes. The current release also exposes a media_subtype accessor and includes dependency fixes.
Perl logo

XML-Sig

Release | 8 Aug 2026 12:29 PM | Author: TIMLEGGE | Version: 0.73
Upvotes: 3 | CPAN Testers: Pass 50.0%Fail 50.0%
A toolkit to help sign and verify XML Digital Signatures
XML::Sig is a Perl toolkit for creating and verifying XML Digital Signatures according to the W3C XML Signature standard. It lets you sign XML fragments or whole documents with a private key or embedded X.509 certificate and verify signatures using the public key delivered with the signature, making it useful for SAML, SOAP, and other XML-based authentication scenarios. The module supports RSA, ECDSA, optional DSA, HMAC, and x509-encoded signatures and implements common canonicalization methods and the enveloped-signature transform so signatures remain valid across equivalent XML representations. Configuration options let you supply key and certificate files or text, choose digest and signature hash algorithms, control X509 encoding, set which node ID to sign, and omit the XML declaration for fragment signing. After verification XML::Sig exposes the signer's certificate and lists of verified IDs or element nodes so you can confirm exactly which parts of the document were covered and defend against signature-wrapping attacks. The module depends on XML::LibXML, Digest::SHA and various Crypt::* libraries for the required crypto support.
Perl logo

Punk-Queue

Release | 8 Aug 2026 12:04 PM | Author: LNATION | Version: 0.01
CPAN Testers: Pass 63.2%Fail 15.8%N/A 5.3%Unknown 15.8%
A job queue for Perl, with a C core
Punk::Queue is a durable, database-backed job queue for Perl that implements its hot paths in C for speed and atomicity. Jobs are stored as rows in SQLite or PostgreSQL and are claimed and recorded by multiple worker processes so work survives crashes and restarts. It provides a rich enqueue API with priority, delay, dependencies, uniqueness keys, per-queue and per-task defaults, and a worker runtime that atomically dequeues, performs and records results or failures. Retries use randomized exponential backoff to avoid thundering herds and three layers of timeout handling protect the system while the supervisor can forcibly kill long-running children. The queue preserves a full per-job log across attempts, offers migration and schema versioning, a repair action to tidy crashed state, simple leasing and counted locks, broadcasting to workers, and admin-friendly listing and stats endpoints. Because Punk::Queue delivers at-least-once semantics tasks must be idempotent by design. This is the initial 0.01 release.
Perl logo

Kubernetes-REST

Favorite | 8 Aug 2026 08:27 AM | Author: GETTY | Version: 1.105
Upvotes: 3 | CPAN Testers: Pass 100.0%
A Perl REST Client for the Kubernetes API
Kubernetes::REST is a Perl client that exposes a simple, high level REST interface to the Kubernetes API and returns typed IO::K8s resource objects instead of raw hashes. It implements standard CRUD operations like list, get, create, update, patch and delete plus convenient helpers such as ensure, ensure_all and ensure_only for idempotent apply and pruning, and it supports streaming operations like watch and log. The client automatically builds API paths from resource metadata, can fetch the cluster resource map from the OpenAPI spec by default, and provides utilities for schema comparison and for async wrappers such as prepare_request, build_path, process_watch_chunk and process_log_chunk. Authentication is token based and the HTTP transport is pluggable so you can use the default LWP backend, HTTP::Tiny or supply an async backend that consumes the Role::IO interface. Note that duplex operations like exec, attach and port_forward require an IO backend with call_duplex and are not supported by the default sync backends. The module also supports multiple patch strategies, handles common race conditions during ensure, and is well suited for scripts, CLIs or integrating Kubernetes access into Perl services.
Perl logo

Container-Buildah

Favorite | 8 Aug 2026 08:26 AM | Author: IKLUFT | Version: 0.3.1
Upvotes: 1 | CPAN Testers: Pass 100.0%
Wrapper around containers/buildah tool for multi-stage builds of OCI/Docker-compatible Linux containers
Container::Buildah is a Perl wrapper around the buildah command that lets you script multi-stage OCI/Docker-compatible container builds from Perl, running each stage as a callback inside the container's user namespace so you get the flexibility of code rather than a static Dockerfile. You define stages with init_config, provide a function for each stage, and Container::Buildah hands a Stage object into those functions with convenience methods that mirror buildah subcommands, which makes it easy to pipeline artifacts from build stages into runtime images and to perform rootless builds. The module is aimed at developers who want programmatic, scriptable control over container construction using buildah instead of hand-edited containerfiles, and it requires a Linux kernel of version 2.8 or newer. Recent releases focused on documentation and examples and added a configurable option around image history handling along with tests for kernel compatibility.
Perl logo

Container-Builder

Favorite | 8 Aug 2026 08:25 AM | Author: ADRI | Version: 0.12
Upvotes: 2 | CPAN Testers: Pass 27.0%N/A 73.0%
Build Container archives
Container::Builder is a Perl toolkit for assembling OCI-style container archives that you can import with podman or Docker by composing layers from Debian .deb packages and local files. It gives simple, Dockerfile-like operations to add Debian packages or package files, extract files from packages, copy directories, add files or string content, create users and groups, set environment variables, working directory and entrypoint, and then produce a single tar archive when you call build. You can point it at a nearby Debian mirror, pick an OS version, enable caching of downloaded .debs and choose whether to gzip-compress layer tars to trade speed for disk space. The module is aimed at crafting minimal, reproducible Debian-based images for development, testing and build experiments rather than as a full production image builder, and the author notes it is still early in development. Recent releases added the ability to embed a container name so podman load can auto-tag the image and fixed digest/diffID handling to produce correct layer and config checksums.
Perl logo

Mojolicious-Plugin-BarefootJS

Release | 8 Aug 2026 05:36 AM | Author: KFLY | Version: v0.31.2
Upvotes: 2 | CPAN Testers: Pass 75.0%N/A 25.0%
Mojolicious integration for BarefootJS
Mojolicious::Plugin::BarefootJS plugs the BarefootJS server runtime into Mojolicious so you can call a per-request BarefootJS instance from your controllers and templates via the bf helper, render compiled BarefootJS templates as Mojolicious templates, and drive server-side rendering using the BarefootJS::Backend::Mojo adapter. It keeps integration simple and framework-native while the separate BarefootJS::Backend::Xslate offers the same runtime for non-Mojolicious or PSGI hosts. A recent improvement changed how the build manifest is loaded so it is read lazily and cached by mtime/size, which prevents boot-time race issues and allows manifest updates to be picked up without restarting the server.
Perl logo

BarefootJS-Backend-Xslate

Release | 8 Aug 2026 05:36 AM | Author: KFLY | Version: v0.31.2
CPAN Testers: Pass 75.0%N/A 25.0%
Text::Xslate (Kolon) rendering backend for BarefootJS
BarefootJS::Backend::Xslate provides a simple Text::Xslate (Kolon) rendering backend for the BarefootJS runtime, letting you render .tx templates on the server without any specific web framework so it works equally well in PSGI/Plack apps or plain scripts. It is designed to be used with the @barefootjs/xslate compile-time adapter which emits Kolon templates that call the runtime as a bf object, so helpers become bf methods and the default Xslate instance needs no special function map. The backend builds Xslate for HTML auto-escaping, supports marking raw HTML when a helper intentionally emits markup, and implements the runtime-facing operations you need: rendering named templates with bf bound, JSON encoding, and materializing values. You can construct it from a prebuilt Text::Xslate object or by passing template paths and Xslate options, making server-side rendering of Kolon templates straightforward and safe for BarefootJS projects.
Perl logo

BarefootJS

Release | 8 Aug 2026 05:35 AM | Author: KFLY | Version: v0.31.2
CPAN Testers: Pass 79.3%Fail 3.4%N/A 17.2%
Engine- and framework-agnostic server runtime for BarefootJS marked templates
BarefootJS is a lightweight server-side runtime for marked templates produced from JSX or TSX that lets compiled templates call runtime helpers at render time while remaining agnostic about your template engine or web framework. It handles tasks like JSON marshalling, marking raw strings, materializing JSX children and invoking named sub-templates, but delegates the framework- and engine-specific work to a pluggable backend so you only load the pieces you need. Ready-made backends include Text::Xslate for PSGI/Plack and a Mojolicious plugin, and the core itself uses only Perl core modules to keep the runtime minimal. Use BarefootJS when you want to run JSX/TSX-style templates on the server in Perl and keep your rendering stack flexible and easy to integrate.
Perl logo

IO-K8s-Deprecated

Release | 8 Aug 2026 03:22 AM | Author: GETTY | Version: 1.105
CPAN Testers: Pass 84.7%N/A 15.3%
Registry of CPAN redirect stubs for renamed/retired IO::K8s modules
IO::K8s::Deprecated is a tiny CPAN distribution that preserves old IO::K8s module names by shipping "tombstone" redirect stubs so that installing a removed or renamed module yields a clear, actionable error pointing to the replacement instead of silently reinstalling stale code. It exists because the CPAN index keeps module names forever and an in-distribution removal can orphan a name, so these stubs reclaim those names and guide users to the current API. The package itself is just a documentation landing page and the individual tombstone modules carry no runtime dependency on IO::K8s core. The initial 1.105 release consolidates 76 per-resource List classes to redirect to IO::K8s::List and also provides tombstones for four removed dynamic resource allocation classes that have no direct successor, making this release useful if you need explicit guidance when encountering legacy IO::K8s module names.
Perl logo

Kubernetes-REST-Deprecated

Release | 8 Aug 2026 02:34 AM | Author: GETTY | Version: 1.105
CPAN Testers: Pass 86.2%N/A 13.8%
Registry of CPAN redirect stubs for the removed Kubernetes::REST v0 API
Kubernetes::REST::Deprecated is a CPAN distribution that preserves clear, actionable redirects for old Kubernetes::REST v0 module names that were removed from the main distribution. Instead of allowing tools like cpanm to repeatedly reinstall obsolete stubs, this package supplies tiny "tombstone" modules that immediately fail at load time and tell the user which modern Kubernetes::REST API to use. It covers the large bulk of the old per-endpoint v0 API, providing 1012 redirect stubs plus ten helper-module tombstones, while deliberately not tombstoning the still-working V0Group compatibility shims. The distribution exists purely to register those replacement stubs on PAUSE and to ensure anyone attempting to install an old class sees a clear migration path rather than silently getting dead code.
Perl logo

Math-Prime-Util

Release | 8 Aug 2026 02:31 AM | Author: DANAJ | Version: 0.75
Upvotes: 22 | CPAN Testers: Pass 100.0%
Utilities related to prime numbers, including fast sieves and factoring
Math::Prime::Util is a comprehensive, high-performance Perl toolkit for working with prime numbers and related number theory tasks, offering fast sieves, primality tests (including BPSW and provable proofs), integer factoring, prime counting and nth-prime routines, random and provable prime generation, modular arithmetic, combinatorics and many utility functions for integers and sequences. It is implemented in XS for native-speed operations and can use a GMP-backed backend for much faster big integer work, though pure-Perl fallbacks exist; if you plan to work with large integers or cryptographic primes, installing the GMP backend is strongly recommended. The API covers both convenience iterators (forprimes, prime_iterator) and low-level routines (mulmod, powmod, invmod, sqrtmod), handles bigints transparently, is thread-safe, and ships small command-line tools for quick prime and factor tasks. If you want to generate, test, count, or manipulate primes or do heavy integer arithmetic inside Perl, this module is likely relevant and performant for your needs. In the recent 0.75 release the module now requires Perl 5.8.1 or later, the XS selection must be done before loading (prime_set_config can no longer toggle the XS option), and integer results that exceed native size are returned using the user-configured bigint class by default, so take care when upgrading code that depends on previous bigint behaviors.
Perl logo

Math-Prime-Util-GMP

Release | 8 Aug 2026 01:35 AM | Author: DANAJ | Version: 0.54
Upvotes: 7 | CPAN Testers: Pass 97.7%Unknown 2.3%
Utilities related to prime numbers, using GMP
Math::Prime::Util::GMP is a high-performance Perl extension that brings GMP-backed big-integer math and a comprehensive suite of number‑theory tools to Perl programs, making it ideal for prime testing, factorization, cryptographic key generation, and numeric experiments. It provides fast probabilistic and deterministic primality tests (including BPSW, Miller‑Rabin, Lucas variants, Proth, LLR and ECPP proofs), a range of factoring algorithms (trial division, Pollard Rho/Brent, p-1/p+1, ECM, SQUFOF and a quadratic sieve), sieving and prime‑generation utilities, modular arithmetic and root routines, combinatorial and special functions such as factorials, Bernoulli numbers, zeta and Pi, and a CSPRNG with random prime and proven‑prime generators. Inputs and outputs for large values use strings so you can work with big integers without changing your bigint setup, and the module is the fast GMP backend for Math::Prime::Util. The recent 0.54 release adds several usability and API improvements such as accepting negative inputs to factor, allowing lucas_sequence to take arbitrary integer P and Q, expanded multifactorial support, new small-integer helper functions, and various correctness and performance fixes including a faster BPSW path, so it is a solid choice if you need reliable, production‑grade big‑number arithmetic and prime/factoring capabilities in Perl.
Perl logo

PAGI-FastAPI

Release | 8 Aug 2026 01:24 AM | Author: MANWAR | Version: v0.0.6
CPAN Testers: Pass 55.0%N/A 45.0%
Asynchronous, Type-Safe Micro-Framework with Dependency Injection and OpenAPI & Swagger UI
PAGI::FastAPI is an asynchronous micro-framework for Perl 5.36+ that brings a FastAPI-like developer experience to Perl by combining non-blocking request handling via the PAGI spec and Future::AsyncAwait with Type::Tiny-based validation for query parameters and JSON bodies. It offers an async middleware pipeline, a simple dependency injection helper, a built-in CORS helper, and automatic OpenAPI 3.1 generation plus an interactive Swagger UI at /docs so your API is documented and discoverable out of the box. Routes are declared with async handlers and optional type constraints or dependency specs, validation errors are returned as HTTP 422 responses, and the app produces a PAGI-compatible code reference you can run with a PAGI server. The initial CPAN release implements the async routing engine, type-safe parameter and body validation, middleware and CORS support, dependency injection, and integrated OpenAPI/Swagger endpoints, making it a good fit if you want to build scalable, type-checked REST services in modern Perl.
Perl logo

Data-URIID

Release | 8 Aug 2026 12:04 AM | Author: LION | Version: v0.23
CPAN Testers: Pass 90.2%N/A 9.8%
Extractor for identifiers from URIs
Data::URIID is a utility for extracting identifiers and human-friendly metadata from URLs, QR codes and related objects so applications can display, link or otherwise act on internet resources. You create an extractor, call lookup on a URI or QR/code text, and receive a Result object that exposes IDs (by type) and attributes such as display names, icons or thumbnails, with support for both offline and optional online lookups and configurable user agent and language preferences. The module integrates with Data::Identifier and understands many common identifier schemes, barcodes and special URI forms (geo, ni, tag:, acct: and more), offers selective control over which services are allowed to go online, and is useful when you need to normalize resource references or gather the minimal data required to connect a resource to other services. Recent updates improved the documentation and added basic support for ibb.co images while continuing to expand recognition of well known IDs and formats.