<?xml version="1.0" encoding="windows-1252"?>
<node id="960551" title="Re^2: glob behavior" created="2012-03-20 05:01:48" updated="2012-03-20 05:01:48">
<type id="11">
note</type>
<author id="917684">
vagabonding electron</author>
<data>
<field name="doctext">
I use ActivePerl v.5.14.1 on WinXP.&lt;br&gt;
The version of File::Glob is 1.12 &lt;br&gt;
&lt;br&gt;
&lt;b&gt;Update:&lt;/b&gt;
I changed the loop to:
&lt;c&gt;
for my $t (keys %address)
{
	my $file = glob ("$address{$t}/Test*");
	print "$t : $address{$t} : $file, \n###\n";
	print "$t : $address{$t} : ", glob ("$address{$t}/Test*"), "\n---\n";
}
&lt;/c&gt;
It prints:
&lt;c&gt;
A : U:/TEMP/TEMP/A : U:/TEMP/TEMP/A/Test01.txt,
###
A : U:/TEMP/TEMP/A : U:/TEMP/TEMP/A/Test01.txt
---
Use of uninitialized value $file in concatenation (.) or string at ... line 17.
D : U:/TEMP/TEMP/D : ,
###
D : U:/TEMP/TEMP/D : U:/TEMP/TEMP/D/Test04.txt
---
C : U:/TEMP/TEMP/C : U:/TEMP/TEMP/C/Test03.txt,
###
C : U:/TEMP/TEMP/C : U:/TEMP/TEMP/C/Test03.txt
---
Use of uninitialized value $file in concatenation (.) or string at ... line 17.
E : U:/TEMP/TEMP/E : ,
###
E : U:/TEMP/TEMP/E : U:/TEMP/TEMP/E/Test05.txt
---
B : U:/TEMP/TEMP/B : U:/TEMP/TEMP/B/Test02.txt,
###
B : U:/TEMP/TEMP/B : U:/TEMP/TEMP/B/Test02.txt
---

&lt;/c&gt;

</field>
<field name="root_node">
960545</field>
<field name="parent_node">
960548</field>
</data>
</node>
