The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Math::Formula::Config - load/save formulas to file

INHERITANCE

 Math::Formula::Config is extended by
   Math::Formula::Config::INI
   Math::Formula::Config::JSON
   Math::Formula::Config::YAML

SYNOPSIS

  my $saver = Math::Formula::Config::YAML->new(directory => $dir);
  $saver->save($context);

DESCRIPTION

The extensions of this module can be used to export and import sets of expressions to and from a program.

The following formats are supported:

At the moment, loading is not yet supported. That implementation will certainly impact the output format. The current version is ment for studying.

METHODS

Constructors

Math::Formula::Config->new(%options)
 -Option   --Default
  directory  <required>
directory => DIRECTORY

In this directory, the output files will be made. For each context (fragment), a separate file is made.

Attributes

$obj->directory()
$obj->path_for($file)

SEE ALSO

This module is part of Math-Formula distribution version 0.12, built on February 26, 2023. Website: http://perl.overmeer.net/CPAN/

LICENSE

Copyrights 2023 by [Mark Overmeer <markov@cpan.org>]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/