mirror of
https://github.com/troydm/exp.git
synced 2025-05-16 22:50:07 -07:00
url fixed
This commit is contained in:
parent
7388982699
commit
4ca7497c0d
4
exp
4
exp
@ -39,8 +39,8 @@ $cmd = decode("UTF-8", $cmd);
|
|||||||
|
|
||||||
my $content;
|
my $content;
|
||||||
|
|
||||||
open(my $output, "-|:encoding(UTF-8)", "curl -s http://explainshell.com/explain?cmd=".$cmd)
|
open(my $output, "-|:encoding(UTF-8)", "curl -s https://explainshell.com/explain?cmd=".$cmd)
|
||||||
or die "can't get data from http://explainshell.com $!";
|
or die "can't get data from https://explainshell.com $!";
|
||||||
{
|
{
|
||||||
local $/;
|
local $/;
|
||||||
$content = <$output>;
|
$content = <$output>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user