xref: /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/MIME/Base64/t/unicode.t (revision 0:68f95e015346)
1BEGIN {
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        }
10}
11
12print "1..2\n";
13
14require MIME::Base64;
15
16eval {
17    my $tmp = MIME::Base64::encode(v300);
18    print "# enc: $tmp\n";
19};
20print "# $@" if $@;
21print "not " unless $@;
22print "ok 1\n";
23
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
34