App::S...:Pragma(3pm)
π NAME π
okay bestie so listen β App::Sqitch::Plan::Pragma.pm is your girl, and the one-liner she's serving is Sqitch deployment plan blank line. yes the summary says "blank line," we're just gonna report that faithfully, no questions asked π she's the class that holds a plan file pragma, and she's iconic for it.
π¦ SYNOPSIS π¦
live your truth, copy-paste style:
my $plan = App::Sqitch::Plan->new( sqitch => $sqitch );
for my $line ($plan->lines) {
say $line->as_string;
}
πΈ DESCRIPTION πΈ
so an App::Sqitch::Plan::Pragma is literally the object that represents a plan file pragma. that's it, that's the job. π
and if you wanna know what interface she's working with, go look at App::Sqitch::Plan::Line β that's where the goods are, for real. no cap. β¨
β¨ INTERFACE β¨
she inherits everything from App::Sqitch::Plan::Line, and then β because she's that girl β App::Sqitch::Plan::Line::Pragma adds a few methods of her very own. main character energy, periodt. π
Accessors π«
valueβ the value of the pragma. that's the whole vibe. πopβ the operator, including the surrounding white space. yes, the space is part of it, we don't argue with the space.hspaceβ the horizontal space sitting between the pragma and its value. it's giving very specific, we love that for us. π
Instance Methods π§
format_valueβ formats the value so it can go out into the world. if there's no value? you get back an empty string, nothing more. but if there is one, the value comes back as-is β no edits, no glow-up, no lip gloss applied. π
π AUTHOR π
David E. Wheeler <david@justatheory.com> β the legend, the blueprint. π«Ά
π LICENSE π
Copyright (c) 2012-2026 David E. Wheeler, 2012-2021 iovation Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
bestie that ALL-CAPS part is not me yelling at you, that's just how warranties talk, and it means zero promises, none, nil, nada. π
and that's the whole page fr fr π this one came from the User Contributed Perl Documentation, perl v5.40.1, dated 2026-07-26, filed under App::S...:Pragma(3pm). mwah, go forth and slay your pragmas π¦β¨
π¦ where this page comes from
- ubuntu stonking: sqitch 1.6.1-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms