ExtUtils::XSpp::Node::Package - Node representing a Perl package
An ExtUtils::XSpp::Node subclass representing a Perl package and thus acting as a container for methods (cf. sub-class ExtUtils::XSpp::Node::Class) or functions.
A literal ExtUtils::XSpp::Node::Package would, for example, be created from:
ExtUtils::XSpp::Node::Package
%package{Some::Perl::Namespace}
This would be compiled to a new XS line a la
MODULE=$WhateverCurrentModule PACKAGE=Some::Perl::Namespace
Creates a new ExtUtils::XSpp::Node::Package.
Named parameters: cpp_name indicating the C++ class name (if any), and perl_name indicating the name of the Perl package. If perl_name is not specified but cpp_name is, perl_name defaults to cpp_name.
cpp_name
perl_name
Returns the C++ name for the package (will be used for namespaces).
Returns the Perl name for the package.
Setter for the Perl package name.
To install ExtUtils::XSpp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ExtUtils::XSpp
CPAN shell
perl -MCPAN -e shell install ExtUtils::XSpp
For more information on module installation, please visit the detailed CPAN module installation guide.