From: Peter Prymmer Date: Fri, 26 Jan 2001 16:05:11 +0000 (-0800) Subject: EBCDIC branch for pragma/sub-lval.t X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e6b8b224520329e2283adf4b7a6bb3b229f25ac1;p=p5sagit%2Fp5-mst-13.2.git EBCDIC branch for pragma/sub-lval.t Message-ID: p4raw-id: //depot/perl@8558 --- diff --git a/t/pragma/sub_lval.t b/t/pragma/sub_lval.t index 03a2fa0..f19268b 100755 --- a/t/pragma/sub_lval.t +++ b/t/pragma/sub_lval.t @@ -514,7 +514,12 @@ print "ok 61\n"; $str = "Made w/ JavaScript"; sub veclv : lvalue { vec($str, 2, 32) } -veclv() = 0x5065726C; +if (ord('A') != 193) { + veclv() = 0x5065726C; +} +else { # EBCDIC? + veclv() = 0xD7859993; +} print "# $str\nnot " unless $str eq "Made w/ PerlScript"; print "ok 62\n";