File: notree.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-- 200 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/perl

print <<END;
Parsing without native Perl trees

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