<?xml version="1.0" encoding="windows-1252"?>
<node id="1016041" title="Re^3: file listing within skript not working" created="2013-01-30 06:42:11" updated="2013-01-30 06:42:11">
<type id="11">
note</type>
<author id="734134">
vinoth.ree</author>
<data>
<field name="doctext">
&lt;p&gt;Well said [moritz] ++ &lt;/p&gt;
&lt;p&gt;[McSvenster] Perl has many ways to do things,you can also use &lt;c&gt;readdir()&lt;/c&gt; function  this way,&lt;/p&gt;
&lt;c&gt;
use strict;
use warnings;
use Data::Dumper;
opendir (DIR, "/home/vinoth/");
my @files = grep /\.xml$/, readdir DIR;
print Dumper \@files;
&lt;/c&gt;
&lt;p&gt;I am not telling this is the best way, but its also one of the way.&lt;/p&gt;</field>
<field name="root_node">
1016018</field>
<field name="parent_node">
1016031</field>
</data>
</node>
