qx Questions

9

Solved

I'm trying to get the response of a curl call into a variable in perl. my $foo = `curl yadd yadda`; print $foo; does not work. When I run this at the command line the curl call prints all its ...
Unwisdom asked 18/6, 2009 at 22:0

3

Solved

system, exec, open '|-', open2, etc. all allow me to specify the command to run as a list of arguments that will be passed directly to execvp instead of run through a shell. Even if perl is smart ...
Medora asked 1/2, 2019 at 22:17

2

Solved

I'd like to unit test a Perl program of mine that is using backticks. Is there a way to mock the backticks so that they would do something different from executing the external command? Another qu...
Diluvial asked 9/9, 2010 at 16:44
1

© 2022 - 2024 — McMap. All rights reserved.