Recent Perl modules, releases and favorites.
Last updated 15 March 2026 10:30 AM
Last updated 15 March 2026 10:30 AM
News!
Bored is a tiny, tongue-in-cheek Perl module that provides a handful of no‑op routines and an object interface to express boredom or serve as playful placeholders in scripts. You can import the simple procedural function bored_one or create a Bored object and call methods such as pointless(), waiting(), and tortured() to get trivial, humorous behavior suitable for demos, tests, or adding comedic fluff to code. The module is intentionally lightweight and not meant for production functionality, and it is released under the Artistic License 2.0. The distribution is an early, minimalist release that mainly supplies these basic stubs for amusement or illustrative use.
Mooish-Base
Release | 15 Mar 2026 07:30 AM | Author: BRTASTIC | Version: 1.005
Importer for Mooish classes
Mooish::Base is a simple importer that gives you a ready-made, consistent starting point for building classes or roles with the Moose family of object systems. By default it pulls in Moo, Mooish::AttributeBuilder, Types::Common and namespace::autoclean so you avoid repetitive boilerplate, and you can request role behaviour with the -role flag to import Moo::Role instead. A pair of environment variables let you substitute different flavour implementations before the module is loaded and an extra-variable lets you opt into additional performance add-ons if they are installed such as Type::Tiny helpers or faster constructor/accessor backends, though XSConstructor support is disabled by default because it is not yet stable. The module only loads extras that do not change runtime behavior, it will try to make Moose classes immutable when appropriate and it provides a $Mooish::Base::DEBUG hook that records what was loaded for each class to help debugging. Module authors are encouraged to use the -standard flag to avoid leaking caller-specific customizations and to ensure stable, predictable imports for downstream users.
Testcontainers
Release | 15 Mar 2026 06:55 AM | Author: DRAGOSV | Version: 0.001
Testcontainers for Perl - Docker containers for testing
Testcontainers for Perl is a simple library for running disposable Docker containers as part of automated integration and smoke tests, letting you programmatically start services, wait until they are ready, and clean them up when tests finish. Its tidy API exposes a run function that returns a container object you can query for host and mapped ports and a terminate method to remove the container, and it supports environment variables, labels, custom commands, network settings, and startup timeouts. The module includes built-in wait strategies such as waiting for a listening port, an HTTP endpoint, log output, or a health check, plus convenience modules for common services like PostgreSQL, MySQL, Redis, and Nginx. It uses WWW::Docker as the Docker client and handles port mapping and host resolution for you, with optional overrides via DOCKER_HOST and a flag to disable the Ryuk resource reaper. If you need reliable, short-lived containerized dependencies for test suites, this module gives a straightforward, test-friendly way to manage them.
Langertha-Skeid
Release | 15 Mar 2026 01:24 AM | Author: GETTY | Version: 0.001
CPAN Testers: Pass 100.0%
Dynamic routing control-plane for multi-node LLM serving with normalized metrics and cost accounting
Langertha::Skeid is a control-plane and lightweight proxy for routing requests across many LLM backends while collecting normalized token and cost metrics for consistent billing and observability. It keeps a live node table and chooses targets by model, health and capacity so you can front cloud and local engines from one API edge, and it records usage in a single ledger so tenant billing and cost reports are straightforward. The usage storage layer is pluggable and the release adds a recommended jsonlog backend that writes one JSON file per event or a JSON-lines file to avoid DBI dependencies, while also supporting SQLite and PostgreSQL or user-provided callbacks or subclass overrides. Admin routes are protected by a configurable API key and can be hidden entirely when no key is set. The module includes helpers for pricing and cost estimation, non-blocking proxy handling for higher concurrency, a CLI for usage reporting, and example configs to get started. Noteworthy in this initial release is the move to make usage storage swappable and DBI optional so you can deploy without a database, and the extraction of the control-plane from the Knarr project as a standalone package.
App-uniprint
Release | 15 Mar 2026 12:06 AM | Author: PERLANCAR | Version: 0.001
Print each Unicode character of input, along with its codepoint and name
App::uniprint is a small command-line utility that prints every Unicode character from its input together with that character's codepoint and official Unicode name, making it easy to inspect text at the character level. It is useful for finding invisible or unexpected characters, debugging encoding problems, and learning what specific glyphs actually are without digging through Unicode tables. The tool is distributed as the uniprint script and the project is hosted on MetaCPAN and GitHub. This is the initial release of the module.
Data-HashMap-Shared
Release | 14 Mar 2026 10:21 PM | Author: EGOR | Version: 0.01
Type-specialized shared-memory hash maps for multiprocess access
Data::HashMap::Shared provides file-backed, type-specialized hash maps in shared memory so multiple Linux processes can read and update the same table efficiently. It ships ten prebuilt variants for integer and string keys and values, uses a futex-backed seqlock design to enable lock-free fast reads, and provides lock-free atomic increments, optional LRU eviction and per-key TTL for cache-style use, elastic resizing, and an arena allocator for stored strings. You can use a compact keyword XS API for maximum speed or the regular method API, and the module supports safe iteration, independent cursors, and diagnostics for capacity and eviction statistics. The implementation detects and recovers from writers that die while holding the write lock by checking PIDs, but this assumes a shared PID namespace so cross-container sharing is not supported, and clearing the map after a recovery is recommended for safety-critical cases. The initial 0.01 release brings the ten type-specialized variants, bundled xxHash, eviction and TTL features, and the performance primitives that make this well suited for high-throughput interprocess caches and counters on 64-bit Linux.
XML-PugiXML
Release | 14 Mar 2026 09:48 PM | Author: EGOR | Version: 0.02
Perl binding for pugixml C++ XML parser
XML::PugiXML is a Perl interface to the fast pugixml C++ parser that gives you quick, memory-safe XML parsing, XPath queries, and a familiar DOM-style API for inspecting and modifying documents. It automatically handles UTF-8 for inputs and outputs, provides compiled XPath support for repeated queries, and exposes convenient methods for navigating nodes and attributes, creating or cloning elements, and serializing with configurable formatting and parse options. The module uses reference counting so node handles keep their parent document alive, avoids processing external entities by default, and reports parse errors via return values while throwing on XPath syntax errors. The recent 0.02 update added stale-handle detection to prevent segfaults after a reset or reload, enabled XPath attribute selection and an Attr::element() parent accessor, upgraded all string inputs to UTF-8, and improved 64-bit integer handling on 32-bit Perls, making it a robust choice when you need high-performance XML work from Perl.
EV-ClickHouse
Release | 14 Mar 2026 09:46 PM | Author: EGOR | Version: 0.01
Async ClickHouse client using EV
EV::ClickHouse is an asynchronous ClickHouse client for Perl that integrates with the EV event loop and lets you issue queries and inserts without blocking your application. It speaks both the HTTP and native TCP protocols, supports optional TLS, gzip and LZ4 compression, per-query and connection-level settings, streamed results via an on_data callback, INSERTs from TSV or arrayrefs, query timeouts, cancellation and automatic reconnect with exponential backoff. The native protocol returns typed columns and provides opt-in decoding for Date/DateTime, Decimal and Enum types and an option to return named rows as hashrefs, while accessors expose metadata like column names, server version and query profiling info. Note that DNS resolution is currently blocking so use IP addresses or a local caching resolver for fully asynchronous behavior. The initial 0.01 release delivers the core feature set including async HTTP queries, native binary protocol support, compression, streaming, parameterized queries and useful metadata and control hooks.
Async etcd v3 client using native gRPC and EV/libev
EV::Etcd is a high-performance asynchronous etcd v3 client for Perl that uses the native gRPC Core C API and integrates with the EV/libev event loop. It exposes the full etcd surface in a non-blocking way, including key/value operations, watches with automatic reconnect, leases and keepalives, distributed locks, leader election, transactions, cluster membership and maintenance commands, plus full authentication and role management. Callbacks receive structured error hashrefs with gRPC status and a retryable flag so you can implement sensible retry logic, and streaming operations return handle objects you can cancel or configure with options like auto_reconnect and max_retries. The client also offers health monitoring and multi-endpoint failover for resilient deployments, but note that EV::Etcd objects are not fork safe and you should create a new client in child processes. Recent maintenance releases fixed load-order and edge-case bugs and improved error and watch handling for greater robustness.
Regexp-Common
Favorite | 14 Mar 2026 09:01 PM | Author: ABIGAIL | Version: 2024080801
Provide commonly requested regular expressions
Regexp::Common is a convenience library of ready-made, reusable regular expressions exposed as a tied hash %RE or as exported RE_* subroutines so you can quickly match things like balanced delimiters, many comment syntaxes, delimited and quoted strings, numbers, IP and MAC addresses, whitespace trims, postal codes, profanity and more without writing the regex yourself. Patterns are customizable with flags such as -keep to turn on captures and -i for case insensitive matching, and they are returned as objects so you can call matches() or subs() for inline matching and substitutions; if you need speed you can use the functional RE_* interface which returns qr// regexes. You can also register your own pattern generators at runtime with pattern(), choose which pattern sets to load, and combine flags to curry specialized matchers. Be aware that patterns are deliberately unanchored so they match substrings unless you anchor them, and some advanced patterns require a modern Perl because they use newer regex features. The module is actively maintained and the latest release removed legacy use vars and updated the MySQL comment pattern.
DBI PostgreSQL interface
DBD::Pg is the standard Perl DBI driver for talking to PostgreSQL databases, letting you open connections, run queries, manage transactions, and fetch results from Perl programs. It supports server-side prepared statements, a rich set of placeholder styles, and explicit control over AutoCommit and transactions including savepoints. The driver also handles PostgreSQL-specific features such as array types, bytea and geometric types, large objects, fast COPY-based bulk import/export, asynchronous queries and connects, and helpers for quoting, encoding, and last-insert-id retrieval. You can import PostgreSQL type constants and limits for precise bind_param use, and there are many driver-specific attributes to tune behavior like UTF8 handling and when to switch to server-side prepared statements. DBD::Pg is actively maintained with source and issue tracking on GitHub, and the documentation warns to explicitly set AutoCommit and to be aware that server-side prepares can change how some statements behave. If you need reliable, full-featured PostgreSQL access from Perl, DBD::Pg is the relevant module.
Faster Thrift binary protocol encoding and decoding
Thrift::XS is a drop-in, faster implementation of the Perl Thrift binary and compact protocols and the in-memory transport, implemented in XS to accelerate encoding and decoding of Thrift RPC payloads. If you already use Perl Thrift clients you can usually switch by replacing the standard BinaryProtocol or MemoryBuffer classes with Thrift::XS::BinaryProtocol or Thrift::XS::CompactProtocol and Thrift::XS::MemoryBuffer to get substantial throughput and latency improvements, especially for many small reads and writes. For the biggest gains use it with an optimized socket layer and the XS memory buffer because standard transports such as BufferedTransport, FramedTransport, or HttpClient may limit the benefit and HttpClient is known to make many tiny syscalls. Recent releases moved the build and release process to Dist::Zilla, added a security policy, and made Thrift a declared dependency after removing the previously embedded copy, so installation now relies on the upstream Thrift distribution.
Masscan-Client
Release | 14 Mar 2026 03:06 PM | Author: HGOUVEA | Version: 0.01
Perl bindings for masscan scanning
Masscan::Client is a simple object-oriented Perl wrapper around the Masscan network scanner that makes it easy to assemble, run, and parse high-speed port scans from Perl programs. You build a client by adding hosts, ports or port ranges and any extra masscan arguments, optionally set the binary path, verbosity or DNS servers, then call scan and receive the results as a native Perl data structure containing per-host timestamps and open-port details. The module handles command-line construction, JSON output parsing and logging via Log::Log4perl and will try to find the masscan binary on your PATH if you do not provide one. It relies on common CPAN modules such as Moose and Net::DNS and requires the external masscan program plus the necessary execution privileges, so it is a good fit for scripts and tools that need to orchestrate automated network scans from Perl.
Graph-Easy-Introspect
Release | 14 Mar 2026 11:28 AM | Author: NKH | Version: 0.01
Introspection and AST for Graph::Easy layouts
Graph::Easy is a Perl library for building, parsing and rendering node and edge graphs into readable diagrams and portable formats. You can create graphs programmatically or from a simple text syntax, attach attributes to nodes, edges and groups, and then render the result as ASCII art, Unicode box drawing, HTML with CSS, SVG (with an optional helper module), Graphviz DOT, GraphML or legacy GDL/VCG. Its built in Manhattan grid layouter is geared toward flow charts, network diagrams and hierarchical trees and makes it easy to produce compact, human friendly diagrams or to pipe DOT output to Graphviz when you need more advanced rendering. The module supports anonymous nodes, groups, multi edges and basic animation steps for describing state flows though animations are not yet exported to output. There are a few known layouter limits such as imperfect group nesting and missing group-to-node link handling and there is no internal scoring or second stage optimizer, but for quickly creating and exporting diagrams in many formats Graph::Easy is a practical, easy to use choice.
Getopt-Guided
Release | 14 Mar 2026 10:07 AM | Author: SVW | Version: v3.1.1
Getopts implementation that follows POSIX utility guidelines
Getopt::Guided is a Perl library for parsing short command-line options with POSIX utility behavior. It offers an iterator-style getopts that parses @ARGV or a supplied array, fills a hash of option values including multi-value options, and supports flags that can be negated or incremented. The processopts helper maps parsed options to scalar or array references or to callback routines so you can attach semantics and control precedence, and it respects an end-of-options signal so callbacks can stop processing early. There is also readopts for loading default options from an rc file in XDG_CONFIG_HOME and print_version_info to implement a standard -V version display. Exports are opt-in and the module follows semantic versioning. A recent 3.1.0 release added readopts and a program_name helper and made some exit status constants exportable, while 3.1.1 focused on documentation and packaging fixes.
Data-HashMap
Favorite | 14 Mar 2026 08:10 AM | Author: EGOR | Version: 0.03
Fast type-specialized hash maps implemented in C
Data::HashMap is a family of ultra‑fast, type‑specialized hash maps implemented in C for Perl that give you compact, high‑throughput in‑memory maps with both a blazing keyword API that bypasses Perl method dispatch and a convenient method API. Each variant is tuned for a particular key/value combination (integers, strings, or Perl SV* values) and supports common map operations plus integer counters, iteration, bulk snapshotting, and cache features such as LRU eviction and TTL expiry with optional per‑key TTL. The implementation focuses on performance and low memory overhead compared with Perl hashes, uses open addressing and xxHash, and exposes useful extras like get_or_set and zero‑copy reads for string values. Note that some integer variants require 64‑bit Perl and that string zero‑copy results are read‑only and must not be retained past any map mutation; the iterator also resets if structural changes trigger rehash or compaction. Recent updates include switching to bundled xxHash v0.8.3 and a new get_direct keyword for zero‑copy string lookups, improving lookup speed and reducing allocations for read‑heavy workloads.
Net-Async-Zitadel
Release | 14 Mar 2026 05:04 AM | Author: GETTY | Version: 0.001
Async Perl client for Zitadel identity management (IO::Async + Future)
Net::Async::Zitadel is an asynchronous Perl client for the Zitadel identity platform that gives you non-blocking OIDC and management API access inside an IO::Async event loop. It uses Net::Async::HTTP and Future-based return values so you can verify tokens via JWKS, use discovery and userinfo endpoints, and perform CRUD operations on users, projects, applications and organizations without blocking your program. The module wraps the WWW::Zitadel API surface and lazily builds OIDC and management helpers; a Personal Access Token is optional unless you need the management API, which will die if no token is provided. If you need a lightweight, event-loop friendly interface to Zitadel from Perl, this module provides the common OIDC and management features in a familiar async style and points to a GitHub repo for issues and contributions.
WWW-Zitadel
Release | 14 Mar 2026 05:02 AM | Author: GETTY | Version: 0.001
Perl client for Zitadel identity management (OIDC + Management API)
WWW::Zitadel is a Perl client for the Zitadel identity platform that bundles an OpenID Connect helper and a Zitadel Management API client. It makes it easy to discover JWKS, verify and decode JWTs, and call userinfo endpoints, and it provides CRUD operations for users, projects, applications and organizations. The OIDC part works with any OIDC-compliant provider and uses Crypt::JWT for token validation. Administrative calls go through the management client and require a Personal Access Token. Both subclients are constructed lazily from a simple WWW::Zitadel object configured with the issuer URL.
POE-Component-ElasticSearch-Indexer
Release | 14 Mar 2026 01:31 AM | Author: BLHOTSKY | Version: 0.016
CPAN Testers: Pass 100.0%
POE session to index data to ElasticSearch
POE::Component::ElasticSearch::Indexer is a ready-made POE session that lets event-driven Perl programs push documents into an Elasticsearch cluster without blocking your main loop. It batches records and uses Elasticsearch's bulk API for throughput, accepts simple hashes, prebuilt newline JSON, or objects that provide as_bulk, and understands per-document hints like _index, _id, _type and _epoch so you can route or name indices dynamically. The component handles connection pooling, timeouts, periodic flush-by-time or flush-by-size, optional HTTP basic auth, and can write failed batches to disk for later recovery while offering hooks for custom statistics and cleanup. Defaults are tuned for log-style indexing (logs-%Y.%m.%d and _doc), and the module will strip types for clusters newer than 7.x. Recent updates improved logging, changed the default protocol handling, and switched to using the wire compatibility version to improve compatibility with OpenSearch. If you build POE-based loggers or evented pipelines that need efficient, resilient indexing into Elasticsearch or OpenSearch, this module gives a compact, configurable solution.
Term-ReadLine-Repl
Favorite | 13 Mar 2026 11:59 PM | Author: JOHNNYR | Version: v0.0.1
A batteries included interactive Term::ReadLine REPL module
Term::ReadLine::Repl is a lightweight framework for building interactive command shells in Perl that takes care of the terminal plumbing so you can focus on your commands. You register commands as a cmd_schema that maps names to exec coderefs and optional argument descriptions, and the module provides tab completion, in-session and optional persistent history, a built-in help and quit commands, and an optional "!" shell passthrough for one-off system commands. It also offers hooks for Getopt::Long-style parsing and a custom per-loop callback to alter behavior or swap command schemas at runtime, and a simple run() method drops the user into the REPL and saves history on exit. Use this when you need a ready-made, extensible interactive prompt without reimplementing completion, history, or basic REPL controls.
JSON-Schema-Modern
Release | 13 Mar 2026 10:43 PM | Author: ETHER | Version: 0.633
Validate data against a schema using a JSON Schema
JSON::Schema::Modern is a mature, actively maintained Perl evaluator for JSON Schema that supports the current Draft 2020-12 and earlier drafts and lets you validate either Perl data structures or JSON strings and receive a structured Result object describing success, errors and annotations. It is highly configurable so you can select the specification version, control short‑circuiting, enable or supply custom format validators, register media type decoders and content encodings, add custom vocabularies, collect defaults that should be applied to missing data, and preload or cache parsed schema documents to speed startup in preforked environments. The module exposes high level APIs to add schemas or prebuilt document objects, to traverse schemas for analysis, and to run targeted evaluations with callback hooks. It does not automatically fetch schema files from disk or the network and some format checks depend on optional CPAN modules, so you should add any custom format, media type or encoding handlers you need and avoid using untrusted schemas because regular expressions and numeric operations in schema or data can be expensive or risky. A recent update fixed the hostname and duration format validators to more strictly reject IP addresses and disallow fractional duration units in cases where the specification does not allow them.
Signal-Mask
Release | 13 Mar 2026 09:55 PM | Author: LEONT | Version: 0.009
Signal masks made easy
Signal::Mask provides a lightweight, Perl-friendly interface to the process or thread signal mask so you can inspect and change which POSIX signals are currently blocked for the caller. The module exposes the mask as the global %Signal::Mask hash, which lets you localize entries to temporarily block signals inside a lexical scope, for example local $Signal::Mask{INT} = 1 to postpone SIGINT delivery until the scope ends. It is a compact, focused tool for code that needs to protect critical sections from asynchronous interruptions or for threaded programs that require explicit, fine-grained signal control.
Minimalist and high-performance async control flow for EV
EV::Future is a tiny, high-performance helper for coordinating asynchronous tasks on the EV event loop that provides three simple building blocks: parallel to run tasks all at once, parallel_limit to constrain concurrency, and series to run tasks one after another. Each task is a coderef that receives a single done callback which it must call once when finished, and an empty task list causes the final callback to run immediately. The module is implemented in XS for speed and ships sensible safety checks by default to catch exceptions and repeated calls to the done callback, while an optional unsafe mode removes those checks and reuses objects to deliver roughly double the throughput for well behaved code. parallel_limit clamps the concurrency between one and the number of tasks and has no cancellation mechanism for already dispatched tasks, and series supports early cancellation by passing a true value to its done callback. EV::Future is aimed at people who need very fast, low-overhead async control flow inside an EV-driven program and prefer a minimal API over heavier promise or future libraries.
Perl bindings to the OpenGL API, GLU, and GLUT/FreeGLUT
OpenGL is the Perl binding that lets you drive the native OpenGL graphics API from Perl programs and scripts, exposing most classic GL functions plus many newer extensions and the GLU, GLUT and partial GLX helpers so you can create windows, upload GPU buffers, draw geometry and run shaders without leaving Perl. It supports convenient calling variants for C-style pointer arguments, integrates with OpenGL::Array for efficient C-backed arrays and with companion modules such as OpenGL::Shader and OpenGL::Image, but it does assume your system has the underlying OpenGL, GLU and a GLUT implementation installed. If you want to prototype 3D rendering, GPU-based math, or embed OpenGL surfaces in Perl GUI code this module is directly relevant. The current 0.7007 release modernizes many bindings by using OpenGL::Modern for generated calls, adds a glpErrorString helper, adds _o aliases for OpenGL::Array arguments, improves type-correct generation of _s functions, and adds build support via ExtUtils::Depends while standardizing on Perl 5.016 or newer.
Mojo-File-ChangeNotify
Release | 13 Mar 2026 08:24 PM | Author: CORION | Version: 0.03
Turn file changes into Mojo events
Mojo::File::ChangeNotify watches files and directories and turns those changes into Mojo-style events you can handle in your application. You create a watcher with directories and an optional filter and provide an on_change callback or attach a 'change' event to receive lists of events describing changed paths and types. Because the underlying File::ChangeNotify interface is blocking or poll-based, this module runs the watcher in a subprocess and forwards notifications to the main process so your Mojolicious event loop stays responsive, though the watcher may take about a second to start. It is a good fit for web or event-driven Perl apps that need a simple file-watching hook without blocking the main process. Recent updates fix memory leaks and expand tests around child process cleanup.
Filesys-Notify-Win32-ReadDirectoryChanges
Release | 13 Mar 2026 08:03 PM | Author: CORION | Version: 0.08
Read/watch directory changes
Filesys::Notify::Win32::ReadDirectoryChanges is a lightweight watcher for Windows that notifies your Perl program about file system events such as created, removed, modified and renamed files and also reports attribute changes, making it useful when you need native, event-driven directory monitoring on Windows. It provides a simple API to add and remove watched directories, a wait method that invokes a callback for each event, and a Thread::Queue for integrating with your own event loop. The implementation uses the Windows ReadDirectoryChanges API and manages worker threads for each watched directory so it is easy to use but does allocate resources per watch; call stop before renaming or deleting watched directories. Recent updates fixed a constructor option naming bug by ensuring the correct "directories" key is accepted and improved resiliency when disposing watcher objects, and the read buffer size can be tuned if you need to handle very busy directories. Be aware that Cygwin support is problematic and Windows XP is not supported.
Async PostgreSQL client using libpq and EV
EV::Pg is a non-blocking PostgreSQL client for Perl that plugs libpq's async API into the EV event loop so your program never blocks on database I/O. It gives you familiar, callback-driven query methods for simple and parameterized SQL, prepared statements, pipeline mode, single-row and chunked-row delivery, COPY IN/OUT, LISTEN/NOTIFY, protocol tracing and structured error fields. Callbacks receive result rows or error messages and there are convenience helpers for escaping, describing prepared statements and portals, cancelling queries and inspecting connection metadata. The module targets high-throughput, low-latency applications and includes pipeline optimizations that can significantly raise query throughput compared with synchronous drivers. It requires libpq and EV (libpq >= 14) and several newer features such as chunked rows, async cancel and no-flush pipeline sync need libpq >= 17. The recent 0.02 update adds a keep_alive flag to let a LISTEN stay active without exiting EV::run and guards send_flush_request for older libpq builds.
Write command line apps with less suffering
App::Cmd is a lightweight Perl framework that makes it easy to build complex, multi-command command-line programs by turning each subcommand into a small, testable plugin module. It handles locating and loading command modules, parsing and validating options and arguments, producing consistent usage and help text, and wiring in common helpers like version and commands listings so you can focus on the business logic. The framework is customizable so you can change arg handling, define global options, group commands, or allow unambiguous abbreviated command names, and it captures program name and usage details for polished CLI output. If you need to write a git-like or multi-subcommand tool in Perl and want to avoid writing your own argument parsing and dispatch boilerplate, App::Cmd is a solid, well-established choice with a tutorial to get you started.