mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
d4e40f0690
- Enable execute permission (chmod +x) - Change interpreter to /usr/bin/env perl Closes https://github.com/curl/curl/pull/2222
10 lines
156 B
Perl
Executable File
10 lines
156 B
Perl
Executable File
#!/usr/bin/env perl
|
|
|
|
use MIME::Base64 qw(encode_base64);
|
|
|
|
my $buf;
|
|
while(read(STDIN, $buf, 60*57)) {
|
|
my $enc = encode_base64($buf);
|
|
print "$enc";
|
|
}
|