in reply to Using File::DosGlob::glob in loop only works first time
The quick fix is to do -f (File::DosGlob::glob qq{"$template_file"})[0] which puts the glob into list context.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using File::DosGlob::glob in loop only works first time
by ff (Hermit) on Feb 24, 2006 at 18:26 UTC | |
by japhy (Canon) on Feb 24, 2006 at 18:53 UTC |