Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (32 sloc) 0.523 kb
#!/usr/bin/perl
# Copyright 2002-2012, 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
use strict;
use warnings;
my @x;
my $y = 1;
for (0 .. 10)
{
$y &&
$x[1]++;
$y &&
$x[0]++ &&
$x[1]++;
$x[2]++
if $y;
for (0 .. 2)
{
$x[3]++;
}
if ($y)
{
$x[4]++;
}
else
{
$x[5]++;
}
}
# print join(", ", @x), "\n";
Jump to Line
Something went wrong with that request. Please try again.