Catmandu::Interactive(3pm)

Catmandu::Interactive3pm

An interactive command line interpreter of the fix language

Usage

   # On the command line
   catmandu run
   # Or, in Perl
   use Catmandu::Interactive;
   use Getopt::Long;
   my $exporter = 'YAML';
   GetOptions("exporter=s" => \$exporter);
   my $app = Catmandu::Interactive->new(exporter => $exporter);
   $app->run();

Overview

This module provide a simple interactive interface to the Catmandu Fix language.

Configuration

in

Read input from an IO::Handle

out

Write output to an IO::Handle

silent

If set true, then no headers or prompts are printed

data

A hash containing the input record

exporter

The name of an exporter package

exporter_args

The options for the exporter

Methods

run

Run the interactive environment.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From libcatmandu-perl 1.2024-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.