Config...Approx(3pm)

πŸ“¦
version 1.012 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸŽ€ NAME πŸŽ€

Config::Model::Backend::Approx β€” bestie, this one reads and writes Approx configuration files πŸ’–

(it's a Perl module, so it lives its life as Config...Approx(3pm) in the User Contributed Perl Documentation section, iykyk ✨)


✨ VERSION ✨

version 1.012 β€” she's on 1.012, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

# This backend is loaded by Config::Model::Node

okay so that's literally the whole synopsis. no use line, no constructor, nothing. the vibe is: you don't summon this one yourself, Config::Model::Node pulls up with it πŸ’…


🌸 DESCRIPTION 🌸

So here's the tea β˜• β€” this module is a backend</>, and what a backend does is handle the actual reading and writing of config files. This particular one does that for Approx πŸ”₯

That's it, that's the whole job description. It reads approx.conf, it writes approx.conf, and it does it through the Config::Model machinery. Iconic behaviour, honestly πŸ‘‘

πŸ’œ Methods πŸ’œ

πŸ“– read

Reads approx.conf and loads all that data into the "approx_root" configuration tree 🌈

like, it opens the file, slurps the vibes, and plants them in the tree. that's the move 🧚

✍️ write

Takes the data chillin' in the "approx_root" configuration tree and writes it back out into approx.conf πŸ’–

so it's the reverse bestie β€” tree goes in, file comes out, periodt ✨


πŸ‘€ SEE ALSO πŸ‘€

  • cme
  • Config::Model::Backend::Any

(and yeah there's a trailing comma after that last one in the original. we respect it. we don't touch it. πŸ’€)


πŸ’… AUTHOR πŸ’…

Dominique Dumont β€” the icon, the legend, the main character who wrote this πŸ«ΆπŸ‘‘


This software is Copyright (c) 2015-2021 by Dominique Dumont.

This is free software, licensed under:

The GNU Lesser General Public License, Version 2.1, February 1999

so yeah, LGPL 2.1, February 1999 edition β€” free as in go wild, but read the license fr fr πŸ“šβœ¨


ok and one last thing bestie β€” this page rode in on perl v5.36.0, dated 2022-10-14. that's the source and the date up top of the header and down at the bottom of the footer, and now you have it too πŸ’– mwah, go configure something pretty πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from