App::S...ineList(3pm)

πŸ’– App::Sqitch::Plan::LineList β€” bestie edition πŸ’–

okay so this is App::Sqitch::Plan::LineList, and it lives in the User Contributed Perl Documentation corner of the perl-verse (3pm energy fr). It's the little module in charge of plan file lines. Buckle up, it's short and it's cuuute.


✨ Name ✨

App::Sqitch::Plan::LineList β€” the Sqitch deployment plan line list πŸ’…

πŸ¦‹ Synopsis πŸ¦‹

my $list = App::Sqitch::Plan::LineList->new(@lines);

my @lines = $list->items;
my $index = $list->index_of($line);

$lines->append($another_line);

🌸 Description 🌸

so this module is the backstage crew πŸŽ€ App::Sqitch::Plan uses it internally to manage the lines of your plan file. That's it, that's the job.

It's giving Array::AsHash but make it simpler β€” no cap, it's modeled on Array::AsHash, except it's way less extra and it hews much closer to the API of App::Sqitch::Plan::ChangeList. consistent queen behavior honestly πŸ‘‘

πŸ’œ Interface πŸ’œ

🧚 Constructors

✨ new

my $plan = App::Sqitch::Plan::LineList->new(map { $_->name => @_ } @changes );

This one instantiates and hands you back a App::Sqitch::Plan::LineList object, slay. The parameters you pass in should be a key/value list of lines. And yes bestie, the keys may be duplicated β€” keys are allowed to repeat, as long as a tag appears between each instance of a key. Rules are rules πŸ’…

🫢 Instance Methods

  • count
  • items
  • item_at
  • index_of
  • append
  • insert_at

(that's the whole lineup. iconic roster, no notes.)

⭐ See Also ⭐

  • App::Sqitch::Plan β€” the Sqitch plan itself, the main character 🌈

πŸ‘‘ Author πŸ‘‘

David E. Wheeler <david@justatheory.com> β€” the legend who wrote all this πŸ’–

πŸ“œ 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.

okay real talk bestie, that ALL CAPS part is the actual legal bit β€” no warranty, don't come for anybody if it breaks, it literally says so 😭

and that's a wrap!! πŸŽ€ this page came to you courtesy of perl v5.40.1, dated 2026-07-26, under the App::S...ineList(3pm) header. mwah πŸ’‹ go read your plan files, they're waiting πŸ¦‹βœ¨

πŸ“¦ where this page comes from