Perl4::CoreLibs(3pm)
β¨ Perl4::CoreLibs β¨
okay bestie, gather round, because today we're talking about Perl4::CoreLibs β the User Contributed Perl Documentation section, no less. this is the lil museum of .pl files that used to live rent-free in the Perl core. ποΈπ
π NAME π
Perl4::CoreLibs β libraries historically supplied with Perl 4. yes, Perl 4. we're going vintage vintage. π°οΈβ¨
π¦ DESCRIPTION π¦
okay so. this is a whole collection of .pl files that were bundled with the Perl core until core version 5.15.1. and listen β relying on them still being in the core distribution? deprecated, no cap. you're supposed to get them from this CPAN distribution instead. π
and from core version 5.13.3 until they got yeeted out entirely, the core versions of these libraries would emit a deprecation warning the moment you loaded them. the CPAN version does NOT emit such a warning, so that's the whole glow-up right there. β¨
now for the lore: the entire Perl 4 approach to libraries got largely superseded in Perl 5.000 by the whole system of module namespaces and .pm files. most of the libraries in this collection predate Perl 5.000, but a handful of them actually got introduced in that version. functionally, most have been directly superseded by modules in the Perl 5 style.
π¨ real talk: these libraries should not be used by new code. periodt. this collection exists purely to support old Perl programs that predate satisfactory replacements. it's a support group, not a starter pack.
also β most of these libraries have not been substantially maintained over the course of Perl 5 development. they're now very antiquated in style, making zero use of any language facilities introduced since Perl 4. so like. please do not use them as programming examples. they are not the tutorial, they are the cautionary tale. π
π LIBRARIES π
the libraries in this collection are, in this exact order, no skips:
abbrev.plβ build a dictionary of unambiguous abbreviations for a group of words. preferText::Abbrev.assert.plβ assertion checking with a stack trace upon assertion failure. π«Άbigfloat.plβ arbitrary precision decimal floating point arithmetic. preferMath::BigFloat.bigint.plβ arbitrary precision integer arithmetic. preferMath::BigInt.bigrat.plβ arbitrary precision rational arithmetic. preferMath::BigRat.cacheout.plβ manage output to a large number of files to avoid running out of file descriptors. the file-descriptor girlies know. πchat2.plβ framework for partial automation of communication with a remote process over IP. preferIO::Socket::INET.complete.plβ interactive line input with word completion. preferTerm::Complete.ctime.plβ one form of textual representation of time. prefer"scalar(localtime())"or"ctime"inPOSIX.dotsh.plβ inhale shell variables set by a shell script. πexceptions.plβ string-based exception handling built on"eval"and"die". preferTry::Tiny,TryCatch, or the core"try"/"catch"facility on Perl5.33.7or later.fastcwd.plβ determine current directory. preferCwd.find.plβ historical interface for a way of searching for files. preferFile::Find.finddepth.plβ historical interface for a way of searching for files. preferFile::Find.flush.plβ flush an I/O handle's output buffer. prefer"flush"inIO::Handle.ftp.plβ File Transfer Protocol (FTP) over IP. preferNet::FTP.getcwd.plβ determine current directory. preferCwd.getopt.plβ Unix-like option processing with all option taking arguments. preferGetopt::Std.getopts.plβ full Unix-like option processing. preferGetopt::Std.hostname.plβ determine host's hostname. preferSys::Hostname.importenv.plβ import environment variables as Perl package variables.look.plβ data-based seek within regular file.newgetopt.plβ GNU-like option processing. preferGetopt::Long.open2.plβ open a subprocess for both reading and writing. preferIPC::Open2.open3.plβ open a subprocess for reading, writing, and error handling. preferIPC::Open3.pwd.plβ track changes of current directory in$ENV{PWD}.shellwords.plβ interpret shell quoting. preferText::ParseWords.stat.plβ access fields of a stat structure by name. preferFile::stat.syslog.plβ write to Unix system log. preferSys::Syslog.tainted.plβ determine whether data is tainted. preferTaint::Util.termcap.plβ generate escape sequences to control arbitrary terminal. preferTerm::Cap.timelocal.plβ generate time number from broken-down time. preferTime::Local.validate.plβ check permissions on a group of files.
π AUTHOR π
the known contributing authors for the libraries in this package are: Brandon S. Allbery, John Bazik, Tom Christiansen <tchrist@convex.com>, Charles Collins, Joe Doupnik <JRD@CC.USU.EDU>, Marion Hakanson <hakanson@cse.ogi.edu>, Waldemar Kebsch <kebsch.pad@nixpbe.UUCP>, Lee McLoughlin <lmjm@doc.ic.ac.uk>, <A.Macpherson@bnr.co.uk>, Randal L. Schwartz <merlyn@stonehenge.com>, Aaron Sherman <asherman@fmrco.com>, Wayne Thompson, Larry Wall <lwall@jpl-devvax.jpl.nasa.gov>, and Ilya Zakharevich. π
(most of these email addresses are probably out of date.) like, deeply out of date. we're talking historical artifact energy. π
the known contributing authors for the tests in this package are: Tom Christiansen <tchrist@convex.com>, Alexandr Ciornii (alexchorny at gmail.com), Marc Horowitz <marc@mit.edu>, Dave Rolsky <autarch@urth.org>, and David Sundstrom <sunds@asictest.sc.ti.com>.
and Andrew Main (Zefram) <zefram@fysh.org> built the Perl4::CoreLibs package. iconic behavior, truly. π
π COPYRIGHT π
Copyright (C) 1987-2009 Larry Wall et al
Copyright (C) 2010, 2011, 2017, 2023 Andrew Main (Zefram) <zefram@fysh.org>
πΈ LICENSE πΈ
this module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. slay, honestly. π
and that's the whole page, bestie β courtesy of perl v5.36.0, dated 2023-06-11, filed under Perl4::CoreLibs(3pm). go forth, use the modern modules, and hydrate. π¦β¨π
π¦ where this page comes from
- debian trixie: libperl4-corelibs-perl 0.005-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libperl4-corelibs-perl 0.005-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libperl4-corelibs-perl 0.005-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libperl4-corelibs-perl 0.005-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms