The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more
123456789 #!./perlprint "1..2\n";# first test to see if we can run the tests.$x = 'test';if ($x eq $x) { print "ok 1 - if eq\n"; } else { print "not ok 1 - if eq\n";}if ($x ne $x) { print "not ok 2 - if ne\n"; } else { print "ok 2 - if ne\n";}
#!./perl
print
"1..2\n"
;
# first test to see if we can run the tests.
$x
=
'test'
if
(
eq
) {
"ok 1 - if eq\n"
; }
else
{
"not ok 1 - if eq\n"
;}
ne
"not ok 2 - if ne\n"
"ok 2 - if ne\n"