Math-Formula

 view release on metacpan or  search on metacpan

lib/Math/Formula/Config.pod  view on Meta::CPAN

=encoding utf8

=head1 NAME

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

=head1 INHERITANCE

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

=head1 SYNOPSIS

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

=head1 DESCRIPTION

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

The following serialization formats are supported:

=over 4

=item * JSON via L<Math::Formula::Config::JSON|Math::Formula::Config::JSON>

=item * YAML via L<Math::Formula::Config::YAML|Math::Formula::Config::YAML>

=item * INI  via L<Math::Formula::Config::INI|Math::Formula::Config::INI>

=back

=head1 METHODS

=head2 Constructors

=over 4

=item $class-E<gt>B<new>(%options)

Z<>

 -Option   --Default
  directory  <required>

=over 2

=item directory => DIRECTORY

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

=back

=back

=head2 Attributes

=over 4

=item $obj-E<gt>B<directory>()



( run in 1.114 second using v1.01-cache-2.11-cpan-13bb782fe5a )