I'm trying to get the response of a curl call into a variable in perl. my $foo = `curl yadd yadda`; …