Config...nd::Any(3pm)

πŸ“¦
version 0.31 Β· 2 versions
  • 0.31 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.31 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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::Find
  • Config::Find::Unix
  • Config::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 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