|more useful options|
Regex Questionby LouM (Initiate)
|on Mar 10, 2008 at 15:54 UTC||Need Help??|
LouM has asked for the
wisdom of the Perl Monks concerning the following question:
Hi, I am new to Perl and am in need of help with the following problem:
I have a config file that looks like this:
# Feed Name
# action=ecrypt OR decrypt
# input_file # input file to be encrypted or decrypted
# output_file # output file to be encrypted or decrypted
I already have the code to read the cfg file but I am not sure how to parse the file names, read the directories and generate the output file name.
/home/qsi/tmp/SLSInterestExtract.*.*.*.pgp is actually
SLSInterestExtract.080308.0459.txt.pgp in the directory.
I need to generate:
Thanks for your help!!!