Just some info about your code layout

I see that Perl is very similar to PHP except that it can also run daemons rather than being a strictly scripting only language.

Do you have any rules to how you layout your code?

I see that you use snake_case for function names, Variables see to “vary” from snake_case to multiple words bolted together. I think you use $d for domain throughout your code. Is there a list of these globally use variables or are these just shorthand that you use within functions.

I use vscode and this allows for a configuration file for each and there is there is prettier (and ESLint if you like a hard time). Biome is becoming popular

I know you have added an .editorconfig which is uninversal across editors.

Thanks

In Perl, it’s common to use snake_case because most idiomatic code often sticks with this style.

And, yes, $d almost always refers to a domain object.

Biome is great, but it has nothing to do with Perl. @Jamie and I don’t use any prettifiers; we just write code with indentation and style that is very, very close to Ratliff.

Do you ever use screaming snake case lol

What do you want to know exactly?

My last comment was supposed to be a joke like comment as I found the name for the other type of snake case funny.

THIS_IS_SCREAMING_SNAKE_CASE

Yeah, I know what screaming snake case is. And, it’s traditionally used for constants.

I will add that to my list. I have seen constants written like this forever but never thought about it having its own case.

I am going to have a poke around virtualmins code as see if I can read it.