Run::P...Common(3pm)

πŸ’– Run::Parts::Common πŸ’–

okay so bestie, welcome to Run::Parts::Common (that's a 3pm page, perl module vibes ✨). It's the common helpers situation for Run::Parts and all its backends β€” like, the shared little bestie toolkit they all borrow from. 🫢


✨ VERSION ✨

this is version 0.09 πŸ’…


🌸 SYNOPSIS 🌸

so what does it actually do? It exports helper functions that Run::Parts uses, and that its backends use too. That's the whole vibe. πŸ¦‹

Exports helper functions used by Run::Parts as well as its backends.

πŸŽ€ EXPORTED FUNCTIONS πŸŽ€

lines ⭐

takes an array of strings as its parameter, no cap.

  • in scalar context, it hands you back a single string with all those lines concatenated together β€” like, glued into one πŸ’«
  • in array context, it just passes the array straight through, untouched, periodt πŸ‘‘

chomped_lines πŸ“

also takes an array of strings as its parameter, but this one calls chomp() on it first β€” getting rid of those trailing newlines, as a treat βœ‚οΈ

  • in scalar context, returns a string with all the lines concatenated 🌈
  • in array context, passes the array through, same energy πŸ’œ

🌟 SEE ALSO 🌟

  • Run::Parts β€” the main character, go look πŸ‘€

πŸ’€ BUGS πŸ’€

found a bug? got a feature request? pls pls pls report it to bug-run-parts at rt.cpan.org, or slide through the web interface at:

http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Run-Parts

the way this works: Axel gets notified, and then you automatically get notified about progress on your bug as changes get made. bestie communication chain, fr fr πŸ“¬


πŸ‘‘ AUTHOR πŸ‘‘

Axel Beckert <abe@deuxchevaux.org> β€” iconic, we stan 🫢


This software is copyright (c) 2021 by Axel Beckert.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. ✨ (yes, free as in do-whatever, same terms as perl itself, slay πŸ’…)


so that's the whole page, bestie! πŸ’– This is perl v5.32.0, dated 2021-01-03, and it's the Run::P...Common(3pm) page from the User Contributed Perl Documentation. mwah, go write some run-parts backends πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from