Math::Formula::Config - load/save formulas to file
Math::Formula::Config is extended by Math::Formula::Config::INI Math::Formula::Config::JSON Math::Formula::Config::YAML
my $saver = Math::Formula::Config::YAML->new(directory => $dir); $saver->save($context);
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:
JSON Math::Formula::Config::JSON
YAML Math::Formula::Config::YAML
INI Math::Formula::Config::INI
-Option --Default directory <required>
In this directory, the output files will be made. For each context (fragment), a separate file is made.
When the configuration files will be written, and are read.
Constructs a filename, based on the configured directory(), the context's name, and the usual filename extensions.
Load a Math::Formula::Context for an INI file.
-Option --Default filename <directory/$name.ini>
Serialize the $context into a file as storage or to be edited by hand. This is a useful method when default configuration templates need to be generated.
This module is part of Math-Formula distribution version 0.16, built on March 14, 2023. Website: http://perl.overmeer.net/CPAN/
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/
To install Math::Formula, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::Formula
CPAN shell
perl -MCPAN -e shell install Math::Formula
For more information on module installation, please visit the detailed CPAN module installation guide.