1Math::Symbolic::Custom:U:sBearseC(o3n)tributed Perl DocuMmaetnht:a:tSiyomnbolic::Custom::Base(3)
2
3
4

NAME

6       Math::Symbolic::Custom::Base - Base class for tree tests and transfor‐
7       mations
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
44       Uses a custom exporter implementation to export certain routines from
45       the invoking namespace to the Math::Symbolic::Custom namespace.  But...
46       Nevermind.
47

SUBROUTINES

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

AUTHOR

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

SEE ALSO

72       New versions of this module can be found on http://steffen-mueller.net
73       or CPAN. The module development takes place on Sourceforge at
74       http://sourceforge.net/projects/math-symbolic/
75
76       Math::Symbolic
77
78
79
80perl v5.8.8                       2008-02-22   Math::Symbolic::Custom::Base(3)
Impressum