annotate _test/any.pl @ 34:a8086f85a571

Dom Builder
author Sergey
date Mon, 16 Nov 2009 18:39:25 +0300
parents 818c74b038ae
children 1828103371d0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
75980091813b DOM и навигация
Sergey
parents:
diff changeset
1 #!/usr/bin/perl -w
18
818c74b038ae DOM Schema + tests
Sergey
parents: 11
diff changeset
2 use strict;
11
75980091813b DOM и навигация
Sergey
parents:
diff changeset
3
18
818c74b038ae DOM Schema + tests
Sergey
parents: 11
diff changeset
4 my @data = (1,2,3,4);
11
75980091813b DOM и навигация
Sergey
parents:
diff changeset
5
18
818c74b038ae DOM Schema + tests
Sergey
parents: 11
diff changeset
6 sub func {
818c74b038ae DOM Schema + tests
Sergey
parents: 11
diff changeset
7 return \@data;
818c74b038ae DOM Schema + tests
Sergey
parents: 11
diff changeset
8 }
11
75980091813b DOM и навигация
Sergey
parents:
diff changeset
9
18
818c74b038ae DOM Schema + tests
Sergey
parents: 11
diff changeset
10 print "$_\n" and $data[3]=0 foreach @{func()};