NAME

FP::Repl - read-eval-print loop

SYNOPSIS

    use FP::Repl;
    repl;

    # To change the default place for both the history and settings
    # files, set this env var to an absolute path to an existing dir:
    #   $ENV{FP_REPL_HOME}= "/foo/bar";

    # pass parameters (any fields of the FP::Repl::Repl class):
    repl (skip => 3, # skip 3 caller frames (when the repl call is nested
                    # within something you dont't want the user to see)
          tty => $fh, # otherwise repl tries to open /dev/tty, or if that fails,
                     # uses readline defaults (which is somewhat broken?)
          # also, any fields of the FP::Repl::Repl class are possible:
          maxHistLen => 100, maybe_prompt => "foo>", maybe_package => "Foo::Bar",
          maybe_historypath => ".foo_history", pager => "more"
          # etc.
         );

DESCRIPTION

For a simple parameterless start of `FP::Repl::Repl`.

SEE ALSO

FP::Repl::Repl: the class implementing this

NOTE

This is alpha software! Read the status section in the package README or on the website.