Using the DateTime::Precise module, identify yesterday's "yyyymmdd" value. Then you can pickup the files as you want..$filename = "ccsCDRFileGenerator-0-24161-1176950330-17914920070419_2.C +DR"; ($yyyymmdd) = $filename =~ m/\d+(\d{8})\_\d+\.CDR$/; print "DATE is : $yyyymmdd \n"
In reply to Re: Picking up files based on datestamp
by siva kumar
in thread Picking up files based on datestamp
by subhankar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |