Config::Any::YAML(3)

🌸 NAME 🌸

Okay so bestie, welcome to Config::Any::YAML(3) β€” yes, the (3) manual page, straight out of the User Contributed Perl Documentation corner of the universe. This is Config::Any::YAML β€” Load YAML config files. That’s the whole vibe. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

Loads YAML files. Example time, because you deserve it:

---
name: TestApp
Controller::Foo:
    foo: bar
Model::Baz:
    qux: xyzzy

No cap, that’s the YAML shape you’re working with. ✨

πŸ’… METHODS πŸ’…

πŸŽ€ extensions( ) πŸŽ€

Returns an array of valid extensions: "yml" and "yaml". Those are the two, bestie β€” yml and yaml, slay. 🫢

πŸ“ load( $file ) πŸ“

Attempts to load $file as a YAML file. That’s the move. You hand it $file, it tries to load it as YAML. πŸ’«

πŸ’œ requires_any_of( ) πŸ’œ

Specifies that this module requires one of YAML::XS, YAML::Syck (0.70), or YAML in order to work. So yeah β€” one of those three has to be in the group chat. The 0.70 is attached to YAML::Syck, iykyk. πŸ‘‘

🌈 AUTHOR 🌈

Brian Cassidy <bricas@cpan.org> β€” iconic. πŸ’Œ

Copyright 2006-2016 by Brian Cassidy.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Periodt β€” free software, same terms as Perl itself, don’t forget it. πŸŽ€

⭐ SEE ALSO ⭐

  • Catalyst
  • Config::Any
  • YAML::XS
  • YAML
  • YAML::Syck

Okay bestie, that’s the whole page. Cute little sign-off: this manual page is from perl v5.42.0, dated 2023-05-04, and it’s Config::Any::YAML(3) β€” mwah πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from