NAME

POSIX::1003::Module - Base of POSIX::1003 components

SYNOPSIS

# use the specific extensions
# and see POSIX::Overview and POSIX::1003

DESCRIPTION

The POSIX functions and constants are provided via extensions of this module. This module itself only facilitates those implementations.

METHODS

POSIX::1003::Module->exampleValue($name)

Returns an example value for the NAMEd variable. Often, this is a compile-time or runtime constant. For some extensions, like ::Pathconf, that may not be the case.

$obj->import()

All modules provide a :constants and a :functions tag, sometimes more. The default is :all, which means: everthing. You may also specify :none (of course: nothing).

When the import list is preceeded by +1, the symbols will get published into the namespace of your caller namespace, not your own namespace.

use POSIX::1003::Pathconf;
use POSIX::1003::Pathconf ':all';  # same
use POSIX::1003 ':pc';             # same, for the lazy
use POSIX::1003 ':pathconf';       # same, less lazy

sub MyModule::import(@)   # your own tricky exporter
{   POSIX::1003::Pathconf->import('+1', @_);
}

SEE ALSO

This module is part of POSIX-1003 distribution version 1.02, built on November 10, 2020. Website: http://perl.overmeer.net/CPAN. The code is based on POSIX, which is released with Perl itself. See also POSIX::Util for additional functionality.

COPYRIGHTS

Copyrights 2011-2020 on the perl code and the related documentation by [Mark Overmeer]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/