annotate _test/any.pl @ 35:f25d021780b3

DOM::Navigator::Builder working version
author Sergey
date Tue, 17 Nov 2009 17:46:24 +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()};