mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
10 lines
152 B
Perl
10 lines
152 B
Perl
#!/usr/bin/perl
|
|
|
|
use MIME::Base64 qw(encode_base64);
|
|
|
|
my $buf;
|
|
while(read(STDIN, $buf, 60*57)) {
|
|
my $enc = encode_base64($buf);
|
|
print "$enc";
|
|
}
|