What's new on CPAN - July 2015

Welcome to “What’s new on CPAN”, a curated look at last month’s new CPAN uploads for your reading and programming pleasure. Enjoy!

Module of the month

There have been many inside-out object implementations, but none like this. Dios is a “Declarative Inside-Out Syntax” object system by Damian Conway. It’s a Perl 6-style object system that supports functions, methods, signatures, public/private/readonly attributes, types and structured exceptions.

Dios comes with comprehensive documentation and a decent test suite. Implemented using Keyword::Declare (another new module from Damian), it even garnered praise from Reini Urban who identified one thing you may miss - no support for roles. Time will tell if they’re added, but for now I can only say “WOW!”.

APIs

Apps

Config & Devops

Data

  • Starch is an implementation-independent persistent state class with interfaces for CHI, DBI and DBIx::Class
  • A JSON Merge Patch implementation: JSON::MergePatch
  • Asset::Pack packs assets into Perl modules that can be fat-packed
  • Interface with the InfluxDB time series database using InfluxDB::LineProtocol and AnyEvent::InfluxDB
  • DBD::Crate is a new DBI driver for the Crate database
  • A data selection parser and applicator with simple DSL, take a look at Data::Selector
  • A Simple Financial Information eXchange (FIX) protocol implementation: FIX::Lite

Development & Version Control

  • Wield lexical control of warnings with warnings::lock
  • An early release, Meta::Grapher::Moose can produce a GraphViz graph showing meta-information about classes and roles
  • Manage Perl’s experimental features more easily using experimentals
  • Keyword::Declare let’s you declare new keywords, comprehensively documented. Wow!
  • Simple-but-useful Devel::Caller::Util can return the entire caller stack on demand. Useful for printing deep stack traces.
  • Declare exception classes in a single file and import them with Throwable::SugarFactory. Very nice!
  • Test::Core is a Perl testing bundle

Language & International

  • Perl::Tokenizer is a tiny Perl code tokenizer built from regexes. But is it any good …

Science & Mathematics

Web

Tags

David Farrell

David is the founder and editor of PerlTricks.com. An organizer of the New York Perl Meetup, he works as a technology consultant in New York City.

Browse their articles