Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: capture output from another program

by xdg (Monsignor)
on Jun 03, 2009 at 17:04 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://768077]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 07:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found