Alzabo::Config(3pm)

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

πŸ’– Alzabo::Config πŸ’–

okay bestie, so this is the Alzabo::Config page β€” it's part of the User Contributed Perl Documentation, and it's literally just all the config info for your Alzabo setup. that's the whole vibe. πŸŽ€


✨ NAME ✨

Alzabo::Config β€” Alzabo configuration information


🌸 SYNOPSIS 🌸

use Alzabo::Config

print Alzabo::Config::schema_dir;

like... that's it. that's the moment. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

This module is where all the functions that deal with Alzabo configuration information live. no cap. it's giving "backend admin energy" but make it cute. πŸ’…


⭐ FUNCTIONS ⭐

πŸŽ€ root_dir ($root)

If you pass a value to this method, then the root gets temporarily changed. and when I say temporarily, I mean it lasts exactly as long as your application stays in memory. the changes are NOT written to disk, so bestie, you're gonna have to change it again next time. sorry. 😭

It returns the root directory for your Alzabo installation. 🫢

🧚 schema_dir

If no root_dir is defined, this function throws an exception. not a drill. πŸ’€

It returns the directory under which Alzabo schema objects are stored in serialized form. yes, serialized. slay. ✨

🌈 available_schemas

If no root_dir is defined, this function throws an exception. again. iconic of it tbh. 😭

It returns a list containing the names of the available schemas. there will be one directory for each schema under the directory that gets returned. and listen β€” directories that cannot be read will not be included in the list. so if something's missing from your list, that's why. vibe check your permissions. πŸ™ˆ

Throws: Alzabo::Exception::System


and that's the whole page, bestie!! πŸ“ go forth and configure your schemas. this was Alzabo::Config(3pm) from perl v5.34.0, dated 2022-06-14 β€” mwah, love u, bye!! πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from