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