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