Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (23 sloc) 0.58 kB
#!/usr/bin/perl
# Copyright 2013-2015, Paul Johnson (paul@pjcj.net)
# This software is free. It is licensed under the same terms as Perl itself.
# The latest version of this software should be available from my homepage:
# http://www.pjcj.net
my $x = 1;
my $y = 1;
if ($x && !$y) {
die "Urgh";
}
if ($x && $y) {
}
unless ($x && $y) {
die "Urgh";
}
if (!($x && $y)) {
die "Urgh";
}
# TODO - this does not get reported on correctly. It is reported identically
# to the first case, but it should be the same as cases 2 - 4.
if (!$x || !$y) {
die "Urgh";
}
Jump to Line
Something went wrong with that request. Please try again.