Panotoo...pt::Line(3)

πŸ“¦
version 0.29 Β· 2 versions
, in fedora 43

✨ NAME ✨

Panotools::Script::Line β€” it's giving Panorama Tools script data πŸ’– (and yes, it's a Panotools::Script::Line(3) situation, from the User Contributed Perl Documentation corner of the universe, bestie 🫢)

🌸 SYNOPSIS 🌸

It's the base class for a line in a panotools script. That's it, that's the whole vibe. πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: a line starts with a single letter identifier, and then right after that comes a whole lil squad of namevalue items β€” all separated by whitespace. that's the anatomy. that's the whole thing. no cap. ✨

πŸ’… USAGE πŸ’…

here's how you actually hang out with these objects, bestie:

  my $line = new Panotools::Script::Line::Foo;

  my $identifier = $line->Identifier;

  $line->Parse ('f a1.0 b2.0 bar3.0');

  my $string = $line->Assemble;

  $line->Set (a => 'something', b => 2);

so new spins up a fresh Panotools::Script::Line::Foo object for you πŸŽ€, Identifier hands you back the identifier, Parse takes a raw string like 'f a1.0 b2.0 bar3.0' and does its thing, Assemble gives you a string back, and Set lets you drop in values like a => 'something' and b => 2. iconic behaviour honestly. 🌈

🌟 Clone a line object 🌟

lowkey my fave, you can just duplicate the whole thing:

 $clone = $l->Clone;

Clone copies your line object into $clone and off you go πŸ¦‹βœ¨


and that's the whole page, bestie πŸ’œ this lil gem is perl v5.42.0, dated 2025-07-25, filed under Panotoo...pt::Line(3) β€” go forth and parse your panorama scripts, you absolute main character πŸ‘‘πŸ’–

πŸ“¦ where this page comes from