mirror of
https://github.com/troydm/exp.git
synced 2025-05-16 06:30:09 -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;
|
||||
|
||||
open(my $output, "-|:encoding(UTF-8)", "curl -s http://explainshell.com/explain?cmd=".$cmd)
|
||||
or die "can't get data from http://explainshell.com $!";
|
||||
open(my $output, "-|:encoding(UTF-8)", "curl -s https://explainshell.com/explain?cmd=".$cmd)
|
||||
or die "can't get data from https://explainshell.com $!";
|
||||
{
|
||||
local $/;
|
||||
$content = <$output>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user