Mark Overmeer > POSIX-1003-0.94_2 > POSIX::1003::Module

Download:
POSIX-1003-0.94_2.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  2
View/Report Bugs
Module Version: 0.94_2   Source   Latest Release: POSIX-1003-0.98

NAME ^

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

INHERITANCE ^

 POSIX::1003::Module is extended by
   POSIX::1003::Confstr
   POSIX::1003::Errno
   POSIX::1003::Events
   POSIX::1003::FS
   POSIX::1003::FdIO
   POSIX::1003::Limit
   POSIX::1003::Locale
   POSIX::1003::Math
   POSIX::1003::OS
   POSIX::1003::Pathconf
   POSIX::1003::Proc
   POSIX::1003::Properties
   POSIX::1003::Signals
   POSIX::1003::Sysconf
   POSIX::1003::Termios
   POSIX::1003::Time
   POSIX::1003::User

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 0.94_2, built on May 17, 2013. Website: http://perl.overmeer.net. The code is based on POSIX, which is released with Perl itself. See also POSIX::Util for additional functionality.

COPYRIGHTS ^

Copyrights 2011-2013 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://www.perl.com/perl/misc/Artistic.html

syntax highlighting: