Event:...Command(3pm)

πŸ’… NAME πŸ’…

ok so bestie, <rainbow>Event::ExecFlow::Job::Command</rainbow> β€” it's the External command for async execution module, and yes it's giving main character energy for your async pipelines ✨


πŸŽ€ SYNOPSIS πŸŽ€

here's the whole vibe, copy-paste ready:

Event::ExecFlow::Job::Command->new (
  command              => Shell command to be executed,
  fetch_output         => Boolean if output should be fetched,
  progress_parser      => A closure or regex for progress parsing,
  configure_callback   => A closure to configure the command
                          before execution,
  ...
  Event::ExecFlow::Job attributes
);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so literally what this does: you use this module when you wanna run an external command asynchronously with Event::ExecFlow. that's it. that's the whole gig. asynchronous external command execution, slay 🫢


πŸ‘‘ OBJECT HIERARCHY πŸ‘‘

look at this family tree, it's iconic:

Event::ExecFlow

Event::ExecFlow::Job
+--- Event::ExecFlow::Job::Command

Event::ExecFlow::Frontend
Event::ExecFlow::Callbacks

see how Event::ExecFlow::Job::Command is a child of Event::ExecFlow::Job? yeah. inheritance. periodt πŸ’œ


✨ ATTRIBUTES ✨

so you can touch these at runtime using the classic get_ATTR(), set_ATTR() style accessors πŸ’…

[ FIXME: describe all attributes in detail ]

no cap, that's literally what the docs say β€” someone left this one unfinished and we respect the honesty πŸ™ˆ


🌸 METHODS 🌸

[ FIXME: describe all methods in detail ]

again β€” FIXME city. bestie did not have the time and honestly? relatable 😭


🧚 AUTHORS 🧚

JΓΆrn Reder <joern at zyn dot de> β€” absolute legend, give them flowers πŸ’


Copyright 2005-2006 by JΓΆrn Reder.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA.

okay real talk β€” that warranty bit matters. no warranty fr fr. the license is LGPL v2.1 or later, and you gotta ship the license text along with it πŸ’œ

🩷 POD ERRORS 🩷

not me exposing the errors but here we go β€” the doc had some coding errors, explained below:

  • Around line 302:
    • Non-ASCII character seen before =encoding in 'JΓΆrn'. Assuming CP1252

yeah, the umlaut jumped out before the encoding declaration and perl just went "ok assuming CP1252 i guess" πŸ’€ iconic behavior honestly.


and that's the whole page bestie!! this was Event:...Command(3pm) β€” the user contributed perl documentation, from perl v5.38.2, dated 2024-02-17. stay async, stay slaying, go run some commands in the background πŸ¦‹πŸ’…βœ¨

πŸ“¦ where this page comes from