Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2014-07-31 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (244 votes), past polls