File: tree.pl

package info (click to toggle)
libxml-bare-perl 0.47-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,404 kB
  • sloc: xml: 15,819; perl: 2,176; ansic: 705; cpp: 41; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 186 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/perl

print <<END;
Native Perl Tree Parsers

END
  print `perl onetree.pl 21`;
my $file = $ARGV[0] || 'test.xml';
for my $i ( 0..20 ) {
  print `perl onetree.pl $i $file 1`
}