Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

use Mojo::IOLoop::Subprocess - cannot pass argument to the subprocess

by PerlDiver (Initiate)
on Mar 27, 2023 at 17:16 UTC ( #11151265=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Mojo::Base -strict, -signatures, -async_await;
    use Mojo::IOLoop::Subprocess;
    ...
        show "AFTER";
        return $c->render(text => "All done", status => 200);
    }
    
  2. or download this
    
    ======(  "BEFORE"  )===========[ 'Test.pm', line 189 ]======
    ...
    
        "AFTER"
    
  3. or download this
    ======(  "BEFORE"  )===========[ 'Test.pm', line 189 ]======
    
    ...
    ======(  "AFTER"  )============[ 'Test.pm', line 234 ]======
    
        "AFTER"
    
  4. or download this
    sub {
        my $sp = shift; # $subprocess
    ...
    #}->($_)
    }
    
  5. or download this
    ======(  "BEFORE"  )===========[ 'Test.pm', line 189 ]======
    
    ...
    
        "AFTER"
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11151265]
Approved by kcott
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2023-09-30 23:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?