1ExtUtils::XSpp::Node::PUascekragCeo(n3t)ributed Perl DocEuxmteUnttialtsi:o:nXSpp::Node::Package(3)
2
3
4

NAME

6       ExtUtils::XSpp::Node::Package - Node representing a Perl package
7

DESCRIPTION

9       An ExtUtils::XSpp::Node subclass representing a Perl package and thus
10       acting as a container for methods (cf. sub-class
11       ExtUtils::XSpp::Node::Class) or functions.
12
13       A literal "ExtUtils::XSpp::Node::Package" would, for example, be
14       created from:
15
16         %package{Some::Perl::Namespace}
17
18       This would be compiled to a new XS line a la
19
20       MODULE=$WhateverCurrentModule PACKAGE=Some::Perl::Namespace
21

METHODS

23   new
24       Creates a new "ExtUtils::XSpp::Node::Package".
25
26       Named parameters: "cpp_name" indicating the C++ class name (if any),
27       and "perl_name" indicating the name of the Perl package. If "perl_name"
28       is not specified but "cpp_name" is, "perl_name" defaults to "cpp_name".
29

ACCESSORS

31   cpp_name
32       Returns the C++ name for the package (will be used for namespaces).
33
34   perl_name
35       Returns the Perl name for the package.
36
37   set_perl_name
38       Setter for the Perl package name.
39
40
41
42perl v5.32.0                      2020-07-28  ExtUtils::XSpp::Node::Package(3)
Impressum