Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: capture output from another program

by xdg (Monsignor)
on Jun 03, 2009 at 17:04 UTC ( #768077=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Capture::Tiny 'capture';
    
    ...
      might_print_via_XS();
      system($^X, '-e', 'print "Capture me too\n"; warn "And this"');
    };
    
  2. or download this
    use Capture::Tiny 'capture';
    
    ...
      print "Hi! \x{263a}\n";
      system($^X, '-e', 'print "Hi! \x{263a}\n"');
    };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://768077]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2017-11-20 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (287 votes). Check out past polls.

    Notices?