[ create a new paste ] login | about

Link: http://codepad.org/NOQze0c1    [ raw code | fork ]

Perl, pasted on Jan 7:
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/perl
use warnings;

my @sites = (undef, "a", "b");
my $sitecount = 1;

while (defined $sites[$sitecount]) {
   # ...
   $sitecount++;
}


Output:
No errors or program output.


Create a new paste based on this one


Comments: