Graph:...Ladder(3pm)
π Graph::Maker::CircularLadder π
okay bestie, gather round, because today we're building a circular ladder and it's literally the cutest little graph you've ever seen πͺβ¨
β¨ VERSION β¨
Version 0.01 β baby's first release, and she ate π
πΈ SYNOPSIS πΈ
So what she does: she creates the circular ladder with however many rungs you ask for. And what even is a circular ladder, you ask? Bestie, it's a ladder graph except the first rung and the last rung are neighbors. Like, they hold hands. They're connected. It's giving friendship bracelet energy ππ«Ά
use strict;
use warnings;
use Graph;
use Graph::Maker;
use Graph::Maker::CircularLadder;
my $g = new Graph::Maker('circular_ladder', rungs => 4, undirected => 1);
# work with the graph
no cap, that's the whole vibe right there π
π¦ FUNCTIONS π¦
π new %params
Creates a circular ladder graph with the number of rungs you specify. Here's the tea on which params she actually recognizes:
rungsβ how many rungs you want, bestie πͺgraph_makerβ the custom maker situation
Anything else you toss in? She just passes it straight along to Graph's constructor, no questions asked π
Oh, and heads up: if you don't give her rungs at all, she assumes it's 0. Zero. Zilch. Not a single rung. The audacity, honestly π
And if you do specify graph_maker, she'll call it to create the Graph class however you want β super handy if you've got, like, a subclass of Graph that's your little main character π β otherwise she defaults to creating a Graph with the parameters you specified. Simple as. β¨
π AUTHOR π
Matt Spear, "<batman900+cpan at gmail.com>" β shoutout to the legend who made this whole thing happen π«‘π
π BUGS π
None at the moment... and we love that for her, periodt π
But fr fr, if you do find something, please report any bugs or feature requests to "bug-graph-maker-circularladder at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Graph-Maker>. The way that works is: he'll be notified, and then you'll automatically be notified of progress on your bug as he makes changes. So you're both in the loop, bestie ππ«Ά
ngl if you find a bug, go tell him. Don't just sit there suffering in silence π
π COPYRIGHT & LICENSE π
Copyright 2008 Matt Spear, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. iconic behavior, we stan open source πΈ
and that's the whole page, bestie!! π this one's from the perl v5.32.1 era, dated 2021-08-27, and it's the Graph::Maker::CircularLadder manual, written by User Contributed Perl Documentation β mwah, slay, go build some ladders πͺβ¨π
π¦ where this page comes from
- debian bookworm: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms