1N/Aif (join(':',@x) eq '1:2:3') {
print "ok 1\n";}
else {
print "not ok 1\n";}
1N/Aif (join('',1,2,3) eq '123') {
print "ok 2\n";}
else {
print "not ok 2\n";}
1N/Aif (join(':',split(/ /,"1 2 3")) eq '1:2:3') {
print "ok 3\n";}
else {
print "not ok 3\n";}
1N/Aif ($f eq 'b,a,e') {
print "ok 4\n";}
else {
print "# '$f'\nnot ok 4\n";}
1N/Aif ($f eq 'a,b,e') {
print "ok 5\n";}
else {
print "not ok 5\n";}
1N/Aif ($f eq 'baeak') {
print "ok 6\n";}
else {
print "# '$f'\nnot ok 6\n";}
1N/A# 7,8 check for multiple read of tied objects 1N/A print "# expected '12:99:17:99' got '$r'\nnot " if $r ne '12:99:17:99'; 1N/A print "# expected '22992799' got '$r'\nnot " if $r ne '22992799'; 1N/A# 9,10 and for multiple read of undef 1N/A print "# expected 'a::9:b::13:c' got '$r'\nnot " if $r ne 'a::9:b::13:c'; 1N/A print "# expected 'a17b21c' got '$r'\nnot " if $r ne 'a17b21c'; 1N/A{ # [perl #24846] $jb2 should be in bytes, not in utf8. 1N/A my $u = "abc\x{0100}";