princepawn has asked for the wisdom of the Perl Monks concerning the following question:
I wrote the following boolean function, which I will pass toexecs.000920103000 000920_092901.nasd
in order to get the files I need to ftp for today.@todays_file = grep { -f $_ && todays_file $_ } @ftp_file_list
However, I always antsy about my regular expressions (as Jeffrey Freidl said, you can write REs to match what you want, but you also must make sure that they dont match ALL the possible things that can show up that you do not want.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Ovid) Re: Extracting date encodings from a filename
by Ovid (Cardinal) on Sep 20, 2000 at 20:10 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |