summaryrefslogtreecommitdiff
path: root/tests/testfunc.pl
blob: 87864866fffe3ef69bc46b3f5961c5670388e656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
sub foo()
{
	my $i=0;
	
	if ($i) {
		my $a = "zeev";
	} else {
		my $b = "andi";
	}
}


sub bar()
{
	foo();
}

for ($i=0; $i<1000000; $i++) {
	bar();
}