Catman...:touch(3pm)
β¨ Catmandu::Cmd::touch β¨
okay bestie, welcome to the Catmandu::Cmd::touch manual page π this one lives in the User Contributed Perl Documentation section, and it's giving "tiny page, very specific job" energy. no cap.
πΈ NAME πΈ
Catmandu::Cmd::touch β add the current datetime to the items in a bag π°οΈβ¨
like, it literally does what it says on the tin: current datetime, straight into your bag's items. iconic behavior fr fr.
π¦ EXAMPLES π¦
here's the vibe, copy-paste ready:
catmandu touch <STORE> <OPTIONS>
and here's a real one where we touch up a MongoDB bag called shop... wait, no, the bag is products and the index name is shop π β anyway, look:
catmandu touch MongoDB --index-name shop --bag products --field date_updated
see how it goes? you point it at a <STORE>, hand it your <OPTIONS>, and it drops the current datetime into date_updated for every item in the bag. slay. π
and that's the whole page, bestie β short but mighty π
heads up: the<STORE>and<OPTIONS>bits in the synopsis are placeholders, so swap in your actual store and flags. don't just run it raw, i'm begging π
this little legend comes from perl v5.40.1 and was dated 2026-01-24 β so yeah, it's recent, it's cute, it's documented. periodt. ππ
k bye, go touch some bags (respectfully) π«Άπ
π¦ where this page comes from
- ubuntu resolute: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms