|Perl Monk, Perl Meditation|
glob behaviorby vagabonding electron (Friar)
|on Mar 20, 2012 at 08:02 UTC||Need Help??|
vagabonding electron has asked for the
wisdom of the Perl Monks concerning the following question:
I cannot explain the following behavior of glob in the script.
Given is a directory U:/TEMP/TEMP with three subdirectories /A, /B and /C.
Each directory contains a file:
If I write the script the following way:
then it prints as shown:
If I write it in the form:
then the output is as follows:
Why it behaves itself different?
Thanks in advance.