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