LazrD has asked for the wisdom of the Perl Monks concerning the following question:
I'm fine with most of the code except for a polling condition established by a WHILE loop based on the following DEFINED condition:
while (defined ($Variable = <$Path{Directory}\\*$FileExtension{TestFil +e}>))
My question: When is the above DEFINED condition true?
(Ancillary question: Is my following narrative understanding of the statement correct? - Perform while a file - any file - matching the pattern Path\*.Extension is recognized?)
I have performed numerous searches on the many Perl sites, but have had not luck. Any thoughts on where I can find an answer?
Thanks for your assistance/direction!
LazrD (first time in the monastery)
Retitled by Steve_p from 'Need direction'.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: When is defined true?
by runrig (Abbot) on Feb 07, 2005 at 20:38 UTC | |
by LazrD (Initiate) on Feb 07, 2005 at 21:25 UTC | |
by runrig (Abbot) on Feb 07, 2005 at 22:10 UTC | |
by Anonymous Monk on Feb 08, 2005 at 14:14 UTC | |
by runrig (Abbot) on Feb 08, 2005 at 17:32 UTC | |
|
Re: When is defined true?
by TedYoung (Deacon) on Feb 07, 2005 at 20:25 UTC |