Workflo...g::YAML(3)

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

πŸ’– Workflow::Config::YAML πŸ’–

okay bestie, welcome to the manual page for Workflow::Config::YAML β€” that's a section 3 (library) page, for the record, and it lives in the User Contributed Perl Documentation corner of the universe πŸ¦‹


✨ NAME ✨

Workflow::Config::YAML β€” parse workflow configurations as YAML data structures πŸŽ€


🌸 VERSION 🌸

This documentation describes version 2.09 of this package. yes, that's the actual number, no cap πŸ’…


⭐ SYNOPSIS ⭐

so here's the vibe, and honestly both of these are acceptable:

# either of these is acceptable
my $parser = Workflow::Config->new( 'yaml' );
my $parser = Workflow::Config->new( 'yml' );

my $conf = $parser->parse( 'condition',
                           'my_conditions.yml', 'your_conditions.yaml' );

see how she passes 'yaml' OR 'yml'? both slay, pick whichever feels right 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

this is the implementation of a configuration parser for serialized YAML data structures β€” from files, from data, wherever they're at. if you wanna know what parse() is actually doing under the hood, go check Workflow::Config, that's where the description lives πŸ‘‘


πŸ‘‘ METHODS πŸ‘‘

🌈 parse

this method is a required implementation from Workflow::Config, so like… you can't skip it, it's not optional, periodt.

it takes two arguments:

  • a string indicating the type of configuration. for the complete list of types, please refer to Workflow::Config πŸ’œ
  • a list of filenames containing at least a single file name. at least one, bestie, we're not accepting zero files here πŸ™ˆ

and the method returns a list of configuration parameters ✨


πŸ’€ SEE ALSO πŸ’€

  • Workflow::Config

Copyright (c) 2004-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 🌟


real talk: this page came from perl v5.42.0, dated 2026-01-17, and it's the Workflow::Config::YAML(3) page in the User Contributed Perl Documentation. that's a whole lot of lore for one little YAML parser but she earned it πŸ’–βœ¨πŸŒΈ
πŸ“¦ where this page comes from