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.
Back to
Seekers of Perl Wisdom