Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello, I am very new to perl and have inherited a script that isn't working. I think I know what the problem is I just don't know how to fix it. The script exports Checkpoint firewall logs from Checkpoint format to a text file. My questions has to do with a wildcard. Part of the script looks like this
my($Prefix) = "_*.log"What happens is that two files match this criteria; date_123456.log and date_123456_7.log. I want the wildcard to choose the first file not the second. Cheers.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Checkpoint firewall logs export
by choroba (Cardinal) on Mar 27, 2013 at 13:14 UTC | |
by Anonymous Monk on Mar 27, 2013 at 13:17 UTC | |
by hdb (Monsignor) on Mar 27, 2013 at 13:26 UTC | |
by Anonymous Monk on Mar 27, 2013 at 13:58 UTC | |
by hdb (Monsignor) on Mar 27, 2013 at 14:10 UTC | |
by Anonymous Monk on Mar 27, 2013 at 14:32 UTC |