Message-Id: <
25BF9A84-4A6D-11D6-9F9F-00039301D480@dan.co.jp>
p4raw-id: //depot/perl@15791
BEGIN {
- chdir 't' if -d 't';
- @INC = '../lib';
+ if ($ENV{'PERL_CORE'}){
+ chdir 't';
+ unshift @INC, '../lib';
+ }
}
+use strict;
use MIME::Base64;
print "1..283\n";
print "# Testing MIME::Base64-", $MIME::Base64::VERSION, "\n";
BEGIN {
- if (ord('A') == 41) {
+ if (ord('A') == 0x41) {
*ASCII = sub { return $_[0] };
}
else {
}
}
-$testno = 1;
+my $testno = 1;
+# instead of "for my $test (...)" , which is my preference.
+# Not sure which perl version has started supporting. MIME::Base64
+# was supposed to work with very old perl5, right?
+my $test;
encodeTest();
decodeTest();