ExtUtils::XSpp::Node::Package(3pm)

ExtUtils::XSpp::Node::Package3pm

Node representing a perl package

Overview

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:

  %package{Some::Perl::Namespace}

This would be compiled to a new XS line a la

MODULE=$WhateverCurrentModule PACKAGE=Some::Perl::Namespace

Methods

new

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".

Accessors

cpp_name

Returns the C++ name for the package (will be used for namespaces).

perl_name

Returns the Perl name for the package.

set_perl_name

Setter for the Perl package name.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–10
  5. 11
  6. 12–13

From libextutils-xspp-perl 0.1800-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.