projects
/
sdlgit/SDL_perl.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
history
|
HEAD
initial state of Pong tutorial
[sdlgit/SDL_perl.git]
/
test
/
64encode.pl
Commit
Line
Data
bfd90409
1
#!/usr/bin/perl
2
3
use MIME::Base64 qw/ encode_base64 /;
4
5
open FILE, "< $ARGV[0]" or die "$!\n";
6
7
while (read FILE, $buf, 60*57) {
8
print encode_base64($buf);
9
}