1Perl4::CoreLibs(3) User Contributed Perl Documentation Perl4::CoreLibs(3)
2
3
4
6 Perl4::CoreLibs - libraries historically supplied with Perl 4
7
9 This is a collection of ".pl" files that have historically been bundled
10 with the Perl core but are planned not to be so distributed with core
11 version 5.15 or later. Relying on their presence in the core
12 distribution is deprecated; they should be acquired from this CPAN
13 distribution instead. From core version 5.13, until their removal, it
14 is planned that the core versions of these libraries will emit a
15 warning when loaded. The CPAN version will not emit such a warning.
16
17 The entire Perl 4 approach to libraries was largely superseded in Perl
18 5.000 by the system of module namespaces and ".pm" files. Most of the
19 libraries in this collection predate Perl 5.000, but a handful were
20 first introduced in that version. Functionally, most have been
21 directly superseded by modules in the Perl 5 style. These libraries
22 should not be used by new code. This collection exists to support old
23 Perl programs that predates satisfactory replacements.
24
25 Most of these libraries have not been substantially maintained in the
26 course of Perl 5 development. They are now very antiquated in style,
27 making no use of the language facilities introduced since Perl 4. They
28 should therefore not be used as programming examples.
29
31 The libraries in this collection are:
32
33 abbrev.pl
34 Build a dictionary of unambiguous abbreviations for a group of
35 words. Prefer Text::Abbrev.
36
37 assert.pl
38 Assertion checking with stack trace upon assertion failure.
39
40 bigfloat.pl
41 Arbitrary precision decimal floating point arithmetic. Prefer
42 Math::BigFloat.
43
44 bigint.pl
45 Arbitrary precision integer arithmetic. Prefer Math::BigInt.
46
47 bigrat.pl
48 Arbitrary precision rational arithmetic. Prefer Math::BigRat.
49
50 cacheout.pl
51 Manage output to a large number of files to avoid running out of
52 file descriptors.
53
54 chat2.pl
55 Framework for partial automation of communication with a remote
56 process over IP. Prefer IO::Socket::INET.
57
58 complete.pl
59 Interactive line input with word completion. Prefer
60 Term::Complete.
61
62 ctime.pl
63 One form of textual representation of time. Prefer
64 "scalar(localtime())" or "ctime" in POSIX.
65
66 dotsh.pl
67 Inhale shell variables set by a shell script.
68
69 exceptions.pl
70 String-based exception handling built on "eval" and "die". Prefer
71 Try::Tiny or TryCatch.
72
73 fastcwd.pl
74 Determine current directory. Prefer Cwd.
75
76 find.pl
77 Historical interface for a way of searching for files. Prefer
78 File::Find.
79
80 finddepth.pl
81 Historical interface for a way of searching for files. Prefer
82 File::Find.
83
84 flush.pl
85 Flush an I/O handle's output buffer. Prefer "flush" in IO::Handle.
86
87 ftp.pl
88 File Transfer Protocol (FTP) over IP. Prefer Net::FTP.
89
90 getcwd.pl
91 Determine current directory. Prefer Cwd.
92
93 getopt.pl
94 Unix-like option processing with all option taking arguments.
95 Prefer Getopt::Std.
96
97 getopts.pl
98 Full Unix-like option processing. Prefer Getopt::Std.
99
100 hostname.pl
101 Determine host's hostname. Prefer Sys::Hostname.
102
103 importenv.pl
104 Import environment variables as Perl package variables.
105
106 look.pl
107 Data-based seek within regular file.
108
109 newgetopt.pl
110 GNU-like option processing. Prefer Getopt::Long.
111
112 open2.pl
113 Open a subprocess for both reading and writing. Prefer IPC::Open2.
114
115 open3.pl
116 Open a subprocess for reading, writing, and error handling. Prefer
117 IPC::Open3.
118
119 pwd.pl
120 Track changes of current directory in $ENV{PWD}.
121
122 shellwords.pl
123 Interpret shell quoting. Prefer Text::ParseWords.
124
125 stat.pl
126 Access fields of a stat structure by name. Prefer File::stat.
127
128 syslog.pl
129 Write to Unix system log. Prefer Sys::Syslog.
130
131 tainted.pl
132 Determine whether data is tainted. Prefer Taint::Util.
133
134 termcap.pl
135 Generate escape sequences to control arbitrary terminal. Prefer
136 Term::Cap.
137
138 timelocal.pl
139 Generate time number from broken-down time. Prefer Time::Local.
140
141 validate.pl
142 Check permissions on a group of files.
143
145 Known contributing authors for the libraries in this package are
146 Brandon S. Allbery, John Bazik, Tom Christiansen <tchrist@convex.com>,
147 Charles Collins, Joe Doupnik <JRD@CC.USU.EDU>, Marion Hakanson
148 <hakanson@cse.ogi.edu>, Waldemar Kebsch <kebsch.pad@nixpbe.UUCP>, Lee
149 McLoughlin <lmjm@doc.ic.ac.uk>, <A.Macpherson@bnr.co.uk>, Randal L.
150 Schwartz <merlyn@stonehenge.com>, Aaron Sherman <asherman@fmrco.com>,
151 Wayne Thompson, Larry Wall <lwall@jpl-devvax.jpl.nasa.gov>, and Ilya
152 Zakharevich. (Most of these email addresses are probably out of date.)
153
154 Known contributing authors for the tests in this package are Tom
155 Christiansen <tchrist@convex.com>, Alexandr Ciornii (alexchorny at
156 gmail.com), Marc Horowitz <marc@mit.edu>, Dave Rolsky
157 <autarch@urth.org>, and David Sundstrom <sunds@asictest.sc.ti.com>.
158
159 Andrew Main (Zefram) <zefram@fysh.org> built the Perl4::CoreLibs
160 package.
161
163 Copyright (C) 1987-2009 Larry Wall et al
164
165 Copyright (C) 2010, 2011 Andrew Main (Zefram) <zefram@fysh.org>
166
168 This module is free software; you can redistribute it and/or modify it
169 under the same terms as Perl itself.
170
171
172
173perl v5.16.3 2017-08-02 Perl4::CoreLibs(3)