From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
|
die "This file is not encoded in Cyrillic.\n" if q{ } ne "\x82\xa0" ;
print "1..2\n" ;
my $__FILE__ = __FILE__;
if ($] < 5.016) {
for my $tno (1..2) {
print "ok - $tno # SKIP $^X $__FILE__\n" ;
}
exit ;
}
if ( open (TEST, ">@{[__FILE__]}.t" )) {
open (SELF,__FILE__);
@_ = <SELF>;
close (SELF);
print TEST @_ [0..2];
print TEST <DATA>;
close (TEST);
system ( qq{$^X @{[__FILE__]} .t});
unlink ( "@{[__FILE__]}.t" );
unlink ( "@{[__FILE__]}.t.e" );
}
|