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
countitemsitem_atindex_ofappendinsert_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
- 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