MODULE::CORELIST::UTILS(3perl)
π Module::CoreList::Utils β bestie edition π
okay so this is Module::CoreList::Utils(3perl), and it lives in the Perl Programmers Reference Guide. it's literally the receipts for which utilities shipped with which versions of perl. gossip but make it archive. π«Ά
β¨ NAME β¨
Module::CoreList::Utils β the whole entire tea on which utilities shipped with which versions of perl π
β¨ SYNOPSIS β¨
use Module::CoreList::Utils;
print $Module::CoreList::Utils::utilities{5.009003}{ptar}; # prints 1
print Module::CoreList::Utils->first_release('corelist');
# prints 5.008009
print Module::CoreList::Utils->first_release_by_date('corelist');
# prints 5.009002
see that? three lines and you're already the main character. π
β¨ DESCRIPTION β¨
so Module::CoreList::Utils gives you the info on which core and dual-life utilities shipped with each version of perl. like, every version. no cap.
it hands you a bunch of different mechanisms for querying that info, so you can pick your fave.
there's a functional programming API available for programmers to query information. very serve.
programmers may also query the contained hash structure to find relevant information. it's giving choose-your-own-adventure but for data. π
β¨ FUNCTIONS API β¨
these are the functions that are available, and the way that you can call them is either as functions or as class methods:
Module::CoreList::Utils::first_release('corelist'); # as a function
Module::CoreList::Utils->first_release('corelist'); # class method
same energy, different outfit. π
utilitiesβ you gotta hand it a perl version as an argument, and it gives you back a list of the utilities that shipped with that version of perl. if that perl doesn't exist? you getundef/an empty list. it said no thank you. πfirst_release( UTILITY )β you hand it aUTILITYname as an argument, and it gives you back the perl version when that utility first appeared in core, ordered by perl version number. if that utility is not in core, you getundef(in scalar context) or an empty list (in list context). πfirst_release_by_date( UTILITY )β you hand it aUTILITYname as an argument, and it gives you back the perl version when that utility first appeared in core, but this time ordered by release date. if that utility is not in core, you getundef(in scalar context) or an empty list (in list context). the timeline accuracy is real. β°removed_from( UTILITY )β takes aUTILITYname as an argument and gives you the first perl version where that utility was removed from core. returnsundefif the given utility was never in core, or if it's still chilling in core. it's not a breakup, it just never happened. πremoved_from_by_date( UTILITY )β takes aUTILITYname as an argument and gives you the first perl version by release date where that utility was removed from core. returnsundefif the given utility was never in core or still remains in core. same vibes, but sorted by when it actually happened. ποΈ
β¨ DATA STRUCTURES β¨
these are the hash data structures that are available:
%Module::CoreList::Utils::utilitiesβ a hash of hashes, keyed on perl version as indicated in$]. the second level hash is utility / defined pairs. so like, utility name, then whether it's there or not. iconic structure honestly. π§
β¨ AUTHOR β¨
Chris "BinGOs" Williams <chris@bingosnet.co.uk> β king behavior π
currently maintained by the perl 5 porters <perl5-porters@perl.org>. absolute legends, all of them. π
this module is the result of archaeology undertaken during QA Hackathon in Lancaster, April 2013. not me romanticizing an archaeological dig but here we are, it ate. ποΈβ¨
β¨ LICENSE β¨
Copyright (C) 2013 Chris Williams. All Rights Reserved.
this module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. go forth and share, bestie. π
β¨ SEE ALSO β¨
corelistModule::CoreListperl<http://perlpunks.de/corelist>
and that's the whole page, fr fr. π
πΈ this was written for perl v5.44.0, dated 2026-10-17, and it's the Module::CoreList::Utils(3perl) page from the Perl Programmers Reference Guide. mwah, bye bestie, go query some utilities. π
β¨
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND 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