Scroll to navigation

Task::Kensho(3pm) User Contributed Perl Documentation Task::Kensho(3pm)

NAME

Task::Kensho - A Glimpse at an Enlightened Perl

VERSION

version 0.41

SYNOPSIS

    # apt-get install libtask-kensho-all-perl

DESCRIPTION

Task::Kensho is a list of recommended, widely used and best-in-class modules for Enlightened Perl development. CPAN is wonderful, but there are too many wheels and you have to pick and choose amongst the various competing technologies.

From <http://en.wikipedia.org/wiki/Kensho>:

Kenshō (見性) (C. Wu) is a Japanese term for enlightenment experiences - most commonly used within the confines of Zen Buddhism - literally meaning "seeing one's nature"[1] or "true self."[2] It generally "refers to the realization of nonduality of subject and object."[3]

The plan is for Task::Kensho to be a rough testing ground for ideas that go into among other things the Enlightened Perl Organisation Extended Core (EPO-EC).

The modules that are bundled by Task::Kensho are broken down into several categories and are still being considered. They are all taken from various top 100 most used perl modules lists and from discussions with various subject matter experts in the Perl Community. That said, this bundle does not follow the guidelines established for the EPO-EC for peer review via industry advisers.

Starting in 2011, Task::Kensho split its sub-groups of modules into individually-installable tasks. Each Task::Kensho sub-task is listed at the beginning of its section in this documentation.

When installing Task::Kensho in Debian GNU/Linux, you can install each sub-task metapackage separately (e.g. libtask-kensho-async-perl), or you can install all tasks at once by installing the libtask-kensho-all-perl metapackage. These metapackages facilitate the ease and simplicity the distribution aims to achieve whilst utilising the power of the Debian GNU/Linux package system.

RECOMMENDED MODULES

Task::Kensho::Async: Async Programming

represent an operation awaiting completion
Asynchronous event-driven programming
Many-Core Engine for Perl providing parallel processing capabilities
Minimalistic event loop
Multitasking and networking framework for Perl
A simple parallel processing fork manager

Task::Kensho::CLI: Useful Command-line Tools

A grep-like text finder
Easy access to any pastebin
What modules shipped with versions of perl
reply - read, eval, print, loop, yay!

Task::Kensho::Config: Config Modules

Load configuration from different file formats, transparently
Generic Config Module
wrapper around the most current and fast JSON backends

Task::Kensho::DBDev: Database Development

Self Contained RDBMS in a DBI Driver
Database independent interface for Perl
Extensible and flexible object <-> relational mapper.
Dynamic definition of a DBIx::Class::Schema
Manipulate structured data definitions (SQL and more)

Task::Kensho::Dates: Date Modules

A date and time object
A fast immutable object representing a date and time
Date parsing both relative and absolute
A date and time object based on localtime or gmtime

Task::Kensho::Email: Email

The Swiss army chainsaw of assembling email messages
A library for sending email
A simple email object. No, really!
A more casual approach to creating and sending Email:: emails
Check validity of Internet email addresses

Task::Kensho::ExcelCSV: Excel/CSV

Create spreadsheets in the XLSX format
Read the data from a spreadsheet
Create XLS documents easily
Manipulate comma-separated values (CSV)

Task::Kensho::Exceptions: Exception Handling

try/catch/finally with full syntax support for control statements
Lightweight exception handling that handles the vagaries of $@.
Make builtins and other functions die instead of returning undef on failure.

Task::Kensho::Hackery: Script Hackery

These packages are included less for production work and more for whippitupitude. They reflect packages that people have found incredibly useful for prototyping and debugging before reducing down to a production script.

IO::All combines all of the best Perl IO modules into a single nifty object oriented interface to greatly simplify your everyday Perl IO idioms.
Comments that do more than just sit there
Simple progress bars
Fun one-liners with Mojo

Task::Kensho::Logging: Logging

Bringing loggers and listeners together.
Log::Contextual is a simple interface to extensible logging. It is bundled with a really basic logger, Log::Contextual::SimpleLogger.
This module manages a set of Log::Dispatch::* output objects that can be logged to via a unified interface.
Log::Log4perl lets you remote-control and fine-tune the logging behaviour of your system from the outside. It implements the widely popular (Java-based) Log4j logging package in pure Perl.

Task::Kensho::ModuleDev: Module Development

Upload things to the CPAN
Engine for tidyall, your all-in-one code tidier and validator
Colored pretty-print of Perl data structures and objects
Include stack traces on all warnings and errors
Combine warns and Data::Dumper::Concise
Powerful feature-rich perl source code profiler
Builds distributions of code to be uploaded to the CPAN.
enable all of the features of Modern Perl with one command
A simple, lightweight, drop-in replacement for ExtUtils::MakeMaker or Module::Build
Critique Perl source code for best-practices.
Parses and beautifies perl source
Convert POD to README file
Packages that provide templated software licenses

Task::Kensho::OOP: Object Oriented Programming

Minimalist Object Orientation (with Moose compatibility)
a postmodern object system for Perl5 (see also Task::Moose for a larger list of Moose extensions)
easy aliasing of methods and attributes in Moose
a Moose role for processing command line options
easy subclassing of non-Moose classes
Moose roles with composition parameters
a Moose role for setting attributes from a simple configuration file
a Moose extension that makes your object constructors blow up on unknown attributes
Parameterizable packages
tiny, yet Moo(se)-compatible type constraints
keep imports out of your namespace (Moose-aware)

Task::Kensho::Scalability: Scalability

A unified cache interface, like DBI
Perl binding for Redis database

Task::Kensho::Testing: Testing

Code coverage metrics for Perl
Distribution with a rich set of tools built upon the Test2 framework.
Test deep data structures
Test exception-based code
Check for memory leaks and circular memory references
Check for POD errors in files
Check for pod coverage in your distribution.
Make running a test conditional on a particular module being installed
Basic utilities for writing tests.
Test for warnings and the lack of them

Task::Kensho::Toolchain: Basic Toolchain

Pack your dependencies onto your script file
Get, unpack, build and install modules from CPAN
a fast CPAN module installer
Manage perl installations in your $HOME
Create a minimal mirror of CPAN
Perl module dependency manager (aka Bundler for Perl)
Curate a repository of Perl modules
Create and use a local lib/ for perl modules with PERL5LIB
Perl extension for Version Objects

Task::Kensho::WebCrawling: Web Crawling

A Thin Wrapper around HTTP::Tiny to play nice with HTTP::Message
Lightweight HTTP client implementation
Simple procedural interface to LWP
Full-featured Web client library for Perl
Non-blocking I/O HTTP and WebSocket user agent
Handy web browsing in a Perl object
This module combines WWW::Mechanize and HTML::TreeBuilder.
Perl Client for the Selenium Remote Control test tool

Task::Kensho::WebDev: Web Development

A Semantic Web Framework
Build CGI::FormBuilder configs from Perl syntax files.
the new generation of Dancer, a lightweight yet powerful web application framework
HTML forms using Moose
Determine Web browser, version, and platform from an HTTP user agent string
Definition of MIME types
Real-time web framework
Flexible superglue between Web Servers and Perl Web Frameworks or code.
Catalyst is The Elegant MVC Web Application Framework. Task::Catalyst is all you need to start with Catalyst.
(Template::Toolkit) Template Processing System
A quick and easy way to build simple web applications
Atom feed and API implementation
Creates and updates RSS files

Task::Kensho::XML: XML Development

Perl extension for generating SAX2 events from nested Perl data structures.
Perl Binding for libxml2
Interface to the gnome libxslt library
Simple/Streaming API for XML
Output XML from SAX2 Events

INSTALLING

To install all Task::Kensho tasks and their recommended modules on Debian GNU/Linux, install the libtask-kensho-all-perl metapackage:

    # apt-get install libtask-kensho-all-perl

Each Kensho task is itself a metapackage. To install a specific task, install the relevant metapackage. E.g. for Task::Kensho::Async:

    # apt-get install libtask-kensho-async-perl

LIMITATIONS

This list is by no means comprehensive of the "Good" Modules on CPAN. Nor is this necessarily the correct path for all developers. Each of these modules has a perfectly acceptable replacement that may work better for you. This is however a path to good perl practice, and a starting place on the road to Enlightened Perl programming.

SEE ALSO

<http://www.enlightenedperl.org/>, Perl::Dist::Strawberry

SUPPORT

Bugs may be submitted through <https://github.com/EnlightenedPerlOrganisation/task-kensho/issues>.

There is also an irc channel available for users of this distribution, at "#epo" on "irc.perl.org" <irc://irc.perl.org/#epo>.

AUTHOR

Chris Prather <chris@prather.org>

CONTRIBUTORS

  • Karen Etheridge <ether@cpan.org>
  • Chris Nehren <apeiron@cpan.org>
  • Leo Lapworth <leo@cuckoo.org>
  • Dan Book <grinnz@grinnz.com>
  • Dan Book <grinnz@gmail.com>
  • Mohammad S Anwar <mohammad.anwar@yahoo.com>
  • Olaf Alders <olaf@wundersolutions.com>
  • Rachel Kelly <rkellyalso@gmail.com>
  • Shawn Sorichetti <shawn@coloredblocks.com>
  • Andrew Whatson <whatson@gmail.com>
  • Florian Ragwitz <rafl@debian.org>
  • Rick Leir <rleir@leirtech.com>
  • Tina Müller <cpan2@tinita.de>

COPYRIGHT AND LICENCE

This software is copyright (c) 2008 by Chris Prather.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-10-13 perl v5.34.0