Graph:...Ladder(3pm)
π Graph::Maker::Ladder π
okay bestie, so this is Graph::Maker::Ladder β a Perl module (that's the 3pm vibe, it's a Perl thing) that creates a ladder graph. yes. like the thing you climb. but mathematically. no cap. β¨
πΈ VERSION πΈ
Version 0.01 β baby's first release, and she ate π
π¦ SYNOPSIS π¦
she creates the ladder with the specified number of rungs. and like, what is the ladder, structurally? it's a rungs by 2 Grid. that's the whole tea. rungs going up, two rails on the sides. iconic geometry honestly.
use strict;
use warnings;
use Graph;
use Graph::Maker;
use Graph::Maker::Ladder;
my $g = new Graph::Maker('ladder', rungs => 4, undirected => 1);
# work with the graph
literally just build it and then go do your little graph things with it. main character energy π
β¨ FUNCTIONS β¨
π§ new %params
Creates the ladder graph with the number of rungs specified.
the parameters she recognizes are:
rungsβ how many rungs, obviously, it's giving "how tall is this ladder" πgraph_maker
any other parameters you throw at her are passed onto Graph's constructor, so you're not limited to just those two, bestie, she's flexible.
if rungs is not specified, it defaults to 0 β yes, a zero-rung ladder, which is certainly a choice, but that's the documented default, so. π
if graph_maker is specified, it will be called to create the Graph class as desired β like, for example, if you have a subclass of Graph and you want that instead of the regular one. and if you don't specify it? it defaults to create a Graph with the parameters specified. so either way you're getting a graph, you're just picking which flavor. slay. π
π AUTHOR π
Matt Spear, "<batman900+cpan at gmail.com>" β thank you for your service, king π«Ά
π BUGS π
None at the moment... (famous last words, but okay, we love the confidence β¨)
Please report any bugs or feature requests to "bug-graph-maker-ladder at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Graph-Maker>.
and here's the good part: he will be notified, and then you'll automatically be notified of progress on your bug as he makes changes. it's giving mutuals. it's giving communication. we love a feedback loop ππ
π 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. β so go forth and redistribute, bestie, legally π
and that's the whole page fr fr π
perl v5.32.1, dated 2021-08-27 β that's the version of perl and the date this page was generated, mwah, bye bestie πβ¨π¦
π¦ 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