File: demo_XML

package info (click to toggle)
libinline-files-perl 0.71-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 232 kB
  • sloc: perl: 617; xml: 12; makefile: 7
file content (12 lines) | stat: -rwxr-xr-x 212 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
use Inline::Files::Virtual;

my @files = vf_load("XML.xml", "(?=<FILE>)");

foreach $file (@files) {
	local *FILE;
	print "<<$file>>\n";
	vf_open FILE, $file or die "huh?";
	while (<FILE>) {
		print "> $_";
	}
}