Scroll to navigation

Catmandu::Interactive(3pm) User Contributed Perl Documentation Catmandu::Interactive(3pm)

NAME

Catmandu::Interactive - An interactive command line interpreter of the Fix language

SYNOPSIS

   # 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();

DESCRIPTION

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

CONFIGURATION

Read input from an IO::Handle
Write output to an IO::Handle
If set true, then no headers or prompts are printed
A hash containing the input record
The name of an exporter package
The options for the exporter

METHODS

run

Run the interactive environment.

SEE ALSO

Catmandu

2020-06-06 perl v5.30.3