Tidy up comments.
[p5sagit/p5-mst-13.2.git] / ext / MIME-Base64 / t / unicode.t
CommitLineData
6fba102d 1BEGIN {
b9e0df4c 2 unless ($] >= 5.006) {
3 print "1..0\n";
4 exit(0);
5 }
6 if ($ENV{PERL_CORE}) {
7 chdir 't' if -d 't';
8 @INC = '../lib';
9 }
6fba102d 10}
11
8be5f608 12print "1..2\n";
6fba102d 13
14require MIME::Base64;
15
16eval {
8be5f608 17 my $tmp = MIME::Base64::encode(v300);
18 print "# enc: $tmp\n";
6fba102d 19};
8be5f608 20print "# $@" if $@;
6fba102d 21print "not " unless $@;
22print "ok 1\n";
23
8be5f608 24require MIME::QuotedPrint;
25
26eval {
27 my $tmp = MIME::QuotedPrint::encode(v300);
28 print "# enc: $tmp\n";
29};
30print "# $@" if $@;
31print "not " unless $@;
32print "ok 2\n";
33