相关疑难解决方法(0)

Perl相当于PHP的get_file_contents()?

以下PHP代码完全符合我的要求.问题是我需要在Perl中重新创建它并且我一直在使用open()sysopen()Perl函数,但不能这样做.有没有人有任何帮助或知道任何可能有帮助的链接?谢谢.

$URL = "http://example.com/api.php?arguments=values";
echo file_get_contents($URL);
Run Code Online (Sandbox Code Playgroud)

php perl get file-get-contents lwp

6
推荐指数
1
解决办法
3828
查看次数

标签 统计

file-get-contents ×1

get ×1

lwp ×1

perl ×1

php ×1