Test::...cument(3pm)

πŸ“¦
version 0.87 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– Test::BDD::Cucumber::Model::Document πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation, and it's all about Test::BDD::Cucumber::Model::Document β€” the lil model that holds a feature file, whether it's chillin' on disk or just vibing in memory. πŸ¦‹


✨ VERSION ✨

version 0.87 β€” yes queen, that's the one. πŸ‘‘


🌸 DESCRIPTION 🌸

It's a model. It represents a feature file. On disk. Or in memory. That's literally it, that's the whole vibe. πŸ’…


πŸŽ€ ATTRIBUTES πŸŽ€

filename

the filename the document got loaded from, periodt. πŸ“

content

the file contents, as a string. just a big ol' string of text, no cap. πŸ“

lines

the file contents again, but this time as an arrayref of Test::BDD::Cucumber::Model::Line objects. same tea, different cup. πŸ“


🌈 OTHER 🌈

BUILD

when the thing gets instantiated, this populates lines() by splitting the input on newlines. iconic behaviour, honestly. ✨


🫢 AUTHOR 🫢

Peter Sergeant <pete@clueball.com> β€” give it up for him, he ate. πŸ‘


πŸ“œ LICENSE πŸ“œ

Copyright 2019-2023, Erik Huelsmann
Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl

ngl, that's the whole page. short and sweet, main character energy only. πŸ’œ

and that's a wrap, bestie β€” this was perl v5.40.1, dated 2025-05-29, and yes the footer says Test::...cument(3pm) again because manpages love a lil encore. mwah. πŸ’–πŸŽ€

πŸ“¦ where this page comes from