Cataly...l::CDBI(3pm)

πŸ’– Cataly...l::CDBI(3pm) β€” the vibe πŸ’–

okay so this is a page from the User Contributed Perl Documentation collection, and the manual name is literally Cataly...l::CDBI(3pm) (yes bestie, with the little dots, that's not a typo, that's just how it's filed 😭). Strap in.


✨ NAME ✨

Catalyst::Helper::Model::CDBI β€” it's a Helper for CDBI Models. that's the whole job description. she's a helper. she helps. πŸ’…


✨ SYNOPSIS ✨

script/create.pl model CDBI CDBI dsn user password

that's it, that's the summoning ritual πŸ•―οΈβœ¨


✨ DESCRIPTION ✨

Helper for CDBI Model. short, sweet, does exactly what it says on the tin, no notes πŸŽ€

✨ METHODS ✨

  • mk_compclass β€” reads the database πŸ“– and then makes a main model class plus placeholders for each table. like she looked at your schema and went "okay I'll handle it" πŸ‘‘
  • mk_comptest β€” makes tests for the CDBI Model. yes queen, we're testing, we're being responsible, we love a girl who writes her tests πŸ§ͺπŸ’–

✨ SEE ALSO ✨

go read these too, they're the friend group:

  • Catalyst::Manual
  • Catalyst::Test
  • Catalyst::Request
  • Catalyst::Response
  • Catalyst::Helper

✨ AUTHOR ✨

Sebastian Riedel, sri@oook.de 🌸 (shoutout to the author, absolute icon, we stan)


✨ LICENSE ✨

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself. (yes, that space before the period is canon, don't come for me πŸ™ˆ)


okay and now for the plot twist: the page keeps going and shows you the actual templates that get generated. three whole NAME/SYNOPSIS/DESCRIPTION/AUTHOR/LICENSE blocks. here they are, verbatim energy, in order πŸ¦‹


🌈 NAME 🌈

[% class %] - CDBI Model Component

🌈 SYNOPSIS 🌈

See "[% app %]"

🌈 DESCRIPTION 🌈

CDBI Model Component.

🌈 AUTHOR 🌈

[% author %]

🌈 LICENSE 🌈

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.


πŸŽ€ NAME πŸŽ€

[% tableclass %] - CDBI Table Class

πŸŽ€ SYNOPSIS πŸŽ€

See "[% app %]"

πŸŽ€ DESCRIPTION πŸŽ€

CDBI Table Class.

πŸŽ€ AUTHOR πŸŽ€

[% author %]

πŸŽ€ LICENSE πŸŽ€

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.


heads up bestie: those [% ... %] bits are template variables, so like, don't go typing them literally into your terminal and then @ me about it πŸ’€ they get filled in when the thing runs. iykyk.

and that's the whole page fr fr. it came from perl v5.32.0, dated 2021-01-05, and the manual name on the tin is Cataly...l::CDBI(3pm). slay, periodt, go build your model πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from