After running the following command:
perl splitfiles.pl -i SSTEST*.txt -c test.conf -e error.txt -r report.txt
I get the following error at 1ine 132:
Unable to open SSTEST*.txt at splitfiles.pl line 132.
Below are lines 130, 131, 132 and Configuration Section
line 130 # open files
line 131 my $input_fh; # *test+1 9/11 206168
line 132 open($input_fh, "<", $INPUT_FILE) or die "Unable to open $INPUT_FILE";
File pattern which needs to split are SSTEST.5 digits.9 digits.YYYYMMDD.835
# Configuration Section
# The users can define defaults that they want to use
$INPUT_FILE = "test.txt";
$ERR_OUTFILE = "error.txt";
$CONFIG_FILE = "remit.conf";
$ORPHAN_FILE = "orphan.txt";
Also I need to run this from crontab.