Config...nd::Any(3pm)
π Config::Find::Any β the perl manual page, but make it cute π
okay so bestie, this is Config::Find::Any from the User Contributed Perl Documentation, and it's literally the blueprint page for Config::Find. it's giving base class energy, no cap. π
β¨ NAME β¨
Config::Find::Any β Perl base class for Config::Find. that's the whole name, that's the vibe. π
πΈ SYNOPSIS πΈ
# don't use Config::Find::Any;
use Config::Find;
fr fr, do not use Config::Find::Any directly. like, it said what it said. use Config::Find and let it do its thing. π
π¦ ABSTRACT π¦
This module implements basic methods for Config::Find. it's the scaffolding, the skeleton, the plot before the main character shows up. β¨
π DESCRIPTION π
okay so here's the tea: every Config::Find class has to be derived from this one, and two methods have to be redefined. the remainder? you can utilize those by the class as required. that's it, that's the deal. π«Ά
π OVERRIDE METHODS π
these two are the ones you must redefine, bestie:
$class->look_for_file($name, $write, $global)
$class->look_for_dir_file($dir, $name, $write, $global)
β CLASS METHODS β
the rest of the squad, free to use as required:
$class->guess_full_script_name($file)
$class->guess_script_name($file)
$class->guess_script_dir($file)
$class->is_one_liner($file)
$class->add_extension($name, $extension)
$class->create_parent_dir($file)
$class->parent_dir($dir)
$class->create_dir($dir)
$class->my_catfile($path,$to,$file,...)
$class->my_catdir($path,$to,$dir,...)
$class->my_getlogin()
π SEE ALSO π
go read these next, iykyk:
Config::FindConfig::Find::UnixConfig::Find::Win32
π AUTHOR π
Salvador FandiΓ±o GarcΓa, <sfandino@yahoo.com> β iconic, we stan. π
π§ CONTRIBUTORS π§
Barbie, <barbie@missbarbell.co.uk> β and yes she did (some bug fixes and documentation). ate and left no crumbs. π₯
π COPYRIGHT AND LICENSE π
Copyright 2003-2015 by Salvador FandiΓ±o GarcΓa (sfandino@yahoo.com)
Copyright 2015 by Barbie (barbie@missbarbell.co.uk)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. so like, go off, legally. β
and that's the whole page, bestie. no more, no less. π
signing off from perl v5.36.0, dated 2022-12-07 β stay slaying, and remember: don't use Config::Find::Any directly, periodt. πβ¨π
π¦ where this page comes from
- debian bookworm: libconfig-find-perl 0.31-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libconfig-find-perl 0.31-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libconfig-find-perl 0.31-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libconfig-find-perl 0.31-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libconfig-find-perl 0.31-3 Β· 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