Some Examples of Modules
A module is a sort of "plug-in": a software package that can easily
be used by other programmers. Modules can contain methods, classes,
constants, and also other modules. We will use the term members
for something, such as a method, that a module contains. Some modules
are written in Pike, but C and C++ can also be used.
Pike is delivered with a number of useful modules.
Here is a list of a few of the more interesting modules.
This module is used for reading and writing files, and also for
communication over the Internet, and for text-based dialogues with the
user. We have used the Stdio module in several examples in this
A toolkit for creating graphical user interfaces, with windows,
buttons and so on.
Processing and manipulation of pictures.
Various protocols, i. e. ways of communicating. One of these is
Protocols.HTTP, which is used to communicate with World Wide
Web servers in order to retrieve web pages. Some other supported
protocols are DNS, IMAP, IRC, LDAP,
LysKOM, NNTP, SMTP, and TELNET.
Support for coding and encoding using MIME, which is used in
Support for cryptography.
Support for various calendar and date formats.
This module lets Pike use SQL database queries, with the mySQL
Support for threaded execution of Pike programs.
Functions to start and control other processes.
Routines to interpret and handle command line options.
LALR(1) parser generator.
Network Information System support.
Support for unpacking compressed files.
Support for matching so-called regular expressions.
Depending on which operating system you are using, and on exactly
how Pike was installed on your system, some of these modules may not