Workflo...n::Null(3)

πŸ“¦
version 2.09 Β· 2 versions
, in fedora 44

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