1Math::Symbolic::Custom:U:sBearseC(o3nptmr)ibuted Perl DoMcautmhe:n:tSaytmiboonlic::Custom::Base(3pm)
2
3
4

NAME

6       Math::Symbolic::Custom::Base - Base class for tree tests and
7       transformations
8

SYNOPSIS

10         # Extending the Math::Symbolic::Custom class:
11         package Math::Symbolic::Custom::MyTransformations;
12         use Math::Symbolic::Custom::Base;
13         BEGIN {*import = \&Math::Symbolic::Custom::Base::aggregate_import}
14
15         our $Aggregate_Export = [qw/apply_transformation1 .../];
16         sub apply_transformation1 {
17            # ...
18         }
19

DESCRIPTION

21       This is a base class for your extensions to the Math::Symbolic::Custom
22       class.
23
24       To extend the class, just use the following template for your custom
25       class:
26
27         package Math::Symbolic::Custom::MyTransformations;
28
29         use Math::Symbolic::Custom::Base;
30         BEGIN {*import = \&Math::Symbolic::Custom::Base::aggregate_import}
31
32         our $Aggregate_Export = [...]; # exported subroutines listed here.
33
34         # Now implement the subroutines.
35         # Exported subroutine names must start with 'apply_', 'mod_',
36         # 'is_', 'test_', 'contains_', or 'to_'
37
38         # ...
39
40         1;
41
42   EXPORT
43       Uses a custom exporter implementation to export certain routines from
44       the invoking namespace to the Math::Symbolic::Custom namespace.  But...
45       Nevermind.
46

SUBROUTINES

48   aggregate_import
49       aggregate_import() is the only public subroutine defined by
50       Math::Symbolic::Custom::Base and should only be called in BEGIN blocks
51       like the one shown in the SYNOPSIS above.
52

AUTHOR

54       Please send feedback, bug reports, and support requests to the
55       Math::Symbolic support mailing list: math-symbolic-support at lists dot
56       sourceforge dot net. Please consider letting us know how you use
57       Math::Symbolic. Thank you.
58
59       If you're interested in helping with the development or extending the
60       module's functionality, please contact the developers' mailing list:
61       math-symbolic-develop at lists dot sourceforge dot net.
62
63       List of contributors:
64
65         Steffen Müller, symbolic-module at steffen-mueller dot net
66         Stray Toaster, mwk at users dot sourceforge dot net
67         Oliver Ebenhöh
68

SEE ALSO

70       New versions of this module can be found on http://steffen-mueller.net
71       or CPAN. The module development takes place on Sourceforge at
72       http://sourceforge.net/projects/math-symbolic/
73
74       Math::Symbolic
75
76
77
78perl v5.38.0                      2023-07-20 Math::Symbolic::Custom::Base(3pm)
Impressum