JFarr has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks.
I need to be able to check if a file, which will change version names frequently, is in a directory, then I need to be able to grab that file name.
I can't figure out how to do it. Help please.
Is there a way to do this? I'm assuming there is, but have not been able to find what I'm looking for. It help if you know what key words you need for your search lol.For example, the file will be names something like Something_binaries- +R5.23.0.0_patch_V5.0.29.0_DiffList.txt. So I want to search a directory for*_patch_*_DiffList.txt, grab the file name and do whatever I need to do with it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: pulling file names from your PC
by john_oshea (Priest) on Jan 11, 2006 at 17:57 UTC | |
by sh1tn (Priest) on Jan 11, 2006 at 18:07 UTC | |
by john_oshea (Priest) on Jan 11, 2006 at 18:12 UTC | |
by ikegami (Patriarch) on Jan 11, 2006 at 18:27 UTC |
Back to
Seekers of Perl Wisdom