perl_mystery has asked for the wisdom of the Perl Monks concerning the following question:
I use glob to find a txt file in a directory "files",I want to be glob free,because perlglob needs to be installed,how do I change the below line to remove glob?
$file = glob(($dir . '\\files\\*.txt'));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Removing glob
by ikegami (Patriarch) on Feb 18, 2011 at 19:54 UTC | |
by Anonymous Monk on Feb 19, 2011 at 08:18 UTC | |
by Corion (Patriarch) on Feb 19, 2011 at 08:25 UTC | |
|
Re: Removing glob
by Corion (Patriarch) on Feb 18, 2011 at 19:28 UTC | |
|
Re: Removing glob
by toolic (Bishop) on Feb 18, 2011 at 18:53 UTC | |
|
Re: Removing glob
by wind (Priest) on Feb 18, 2011 at 18:46 UTC |