Hi
I wonder if anyone can help me here with perl as I'm only good in shell scriptting and i've been asked to do something in perl.
Basically i need to monitos a specific directory permanently. And once the files are delivered I have to generate a log and check if it is a duplicate and then forward it to an output system acording to the file type.
Here's an example:
FILE: MVNO_XXXXXX_MMS_PREPAID_Batch_id_FileSeqNum_YYYYMMDDhhmmss
OUTPUT SYSTEM: FRAUD & MDS
FILE: MVNO_UNB_XXXXXX_BatchID_SwitchId_YYYYMMDDhhmmss
OUTPUT SYSTEM: MDS
I know it's not an easy thing but in sh it would be simpler for me.
thanks anyway
I wonder if anyone can help me here with perl as I'm only good in shell scriptting and i've been asked to do something in perl.
Basically i need to monitos a specific directory permanently. And once the files are delivered I have to generate a log and check if it is a duplicate and then forward it to an output system acording to the file type.
Here's an example:
FILE: MVNO_XXXXXX_MMS_PREPAID_Batch_id_FileSeqNum_YYYYMMDDhhmmss
OUTPUT SYSTEM: FRAUD & MDS
FILE: MVNO_UNB_XXXXXX_BatchID_SwitchId_YYYYMMDDhhmmss
OUTPUT SYSTEM: MDS
I know it's not an easy thing but in sh it would be simpler for me.
thanks anyway
