Workflo...n::Null(3)
β¨ NAME β¨
Workflow::Action::Null β it's a Workflow action for the terminally lazy, bestie π (and yes, that's the whole point, iykyk)
This one lives in the User Contributed Perl Documentation section, manual page Workflow::Action::Null(3), in case you were wondering where you wandered into π¦
πΈ VERSION πΈ
This documentation describes version 2.09 of this package. Yes girl, 2.09, write it down π
π SYNOPSIS π
Okay so first you gotta summon it in your workflow.yaml, like:
# in workflow.yaml...
state:
name: 'some state'
action:
- name: 'null'
...
And then over in workflow_action.yaml you tell it which class is doing the (not) doing:
# in workflow_action.yaml...
action:
- name: 'null'
class: Workflow::Action::Null
That's it. That's the whole vibe. Slay β¨
π DESCRIPTION π
So. It's a Workflow action that does nothing. But here's the thing β unlike all those other lazy modules out there, this one does nothing with a purpose π€ Not me defending the do-nothing module, but like, it's genuinely serving.
Picture it: you want some poor slobs to have some action verified, but the elite masters get to skip the work entirely. Different strokes for different tax brackets, periodt. So you do:
state:
- name: checking
autorun: yes
action:
- name: verify
resulting_state: verified
condition:
- name: isPoorSlob
- name: 'null'
resulting_state: verified
condition:
- name: isEliteMaster
The poor slobs get the real verify action. The elite masters get the null action and glide straight to verified with zero effort. Main character energy, honestly π
π¦ OBJECT METHODS π¦
execute()
Implemented from Workflow::Action. Proudly does nothing, and β iconic behaviour β proves it by returning undef. Not a vibe, not a value, just undef. It said "my contribution is my absence" π
π COPYRIGHT π
Copyright (c) 2003-2021 Chris Winters. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Please see the LICENSE π
π AUTHORS π
Please see Workflow π«Ά
Okay bestie, that's a wrap on Workflo...n::Null(3) β brought to you by perl v5.42.0, dated 2026-01-17, courtesy of User Contributed Perl Documentation. Go forth and do nothing, purposefully π
β¨
π¦ where this page comes from
- fedora 44: perl-Workflow 2.09-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms