Web::M...ne::FSM(3pm)

✨ NAME ✨

Web::Machine::FSM β€” the State Machine runner, bestie. That's it, that's the whole job description πŸ’…

(this page is the man page for Web::Machine::FSM(3pm), and yeah the header up top truncates it to Web::M...ne::FSM(3pm) β€” we're all just doing our best out here 🫢)


🌸 VERSION 🌸

version 0.17 ✨


πŸŽ€ SYNOPSIS πŸŽ€

use Web::Machine::FSM;

that's the whole vibe check, bestie. go forth πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so listen. this is literally the heart of the Web::Machine πŸ’€ this is the thing that runs the state machine. and where do the states live? they live in the Web::Machine::FSM::States module. the states are contained in that module, and this module is the one driving the whole thing. main character energy, no cap πŸ‘‘


πŸ’œ METHODS πŸ’œ

  • new ( %params ) β€” constructor time πŸŽ€ it accepts two %params. param one is a boolean β€” do you want tracing turned on or off? param two is optional, and it's the name of the HTTP header where you want the tracing info to go πŸ‘€
  • tracing β€” the eternal question: are we tracing or not?? πŸ”
  • tracing_header β€” accessor for the HTTP header name you want the tracing data stored in πŸ«™ and ngl, it defaults to X-Web-Machine-Trace ✨ so if you don't set it, that's what you get πŸ’–
  • run ( $resource ) β€” hand it a Web::Machine::Resource instance and it will execute the state machine πŸš€ that's the whole thing. go, girl, go πŸ”₯

🌈 SEE ALSO 🌈


πŸ“ SUPPORT πŸ“

found a bug? 😭 no worries, bugs may be submitted through https://github.com/houseabsolute/webmachine-perl/issues β€” go tell them, they wanna know 🫢


⭐ AUTHORS ⭐

  • Stevan Little <stevan@cpan.org>
  • Dave Rolsky <autarch@urth.org>

icons, both of them, fr fr πŸ’–


This software is copyright (c) 2016 by Infinity Interactive, Inc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself πŸ’… periodt.


and that's the whole page, bestie 🧚 this was Web::M...ne::FSM(3pm) from perl v5.34.0, dated 2022-07-03, served fresh from the User Contributed Perl Documentation. slay πŸ’–βœ¨πŸŒΈ
πŸ“¦ where this page comes from