![]() For example, trying to access the setjmp() call will elicit the message " setjmp() is C-specific: use eval instead, see perlmod. If you attempt to call these, they will print a message telling you that they aren't implemented, and suggest using the Perl equivalent, should one exist. ![]() If you do neither and opt for the default (as in use POSIX ), you will import hundreds and hundreds of symbols into your namespace.Ī few functions are not implemented because they are C specific. POSIX::SEEK_END), or give an explicit import list. You should either prevent the exporting (by saying use POSIX (), as usual) and then use fully qualified names (e.g. This is an unfortunate backwards compatibility feature and its use is strongly discouraged. #CAVEATSĮverything is exported by default (with a handful of exceptions). Attempts to use any missing one will result in a fatal runtime error message. Some may not be available on your system if it adheres to an earlier standard. The notation indicates functions that were added in the ISO/IEC 9899:1999 version of the C language standard. The remaining sections list various constants and macros in an organization which roughly follows IEEE Std 1003.1b-1993. The second section describes some classes for signal objects, TTY objects, and other miscellaneous objects. The first section describes POSIX functions from the 1003.1 specification. Consult perlfunc for functions which are noted as being identical or almost identical to Perl's builtin functions. Consult your operating system's manpages for general information on most features. This document gives a condensed list of the features available in the POSIX module. Many of these identifiers have been given Perl-ish interfaces. The POSIX module permits you to access all (or nearly all) the standard POSIX 1003.1 identifiers. # note: that's a filedescriptor, *NOT* a filehandle #DESCRIPTION POSIX - Perl interface to IEEE Std 1003.1 #SYNOPSIS use POSIX ()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |