Hi Perl Monks! I've made a very simple example of my problem. $ARGV is not capturing '1' from my qsub file. Should I not use $ARGV? I've never done this before, and I thought I was going about it right. The code works on my local and remote computer, but complains when I sent it for batch processing.
This is my simple script
my $infile = $ARGV;
open (my $INFILE,"<", $infile)
This is my qsub script
#PBS -t 1-10
#PBS -l walltime=48:00:00
/usr/bin/perl /chongle/jeri/timecheck/MUSCLEHMM.pl $PBS_ARRAYID > /cho
+ngle/jeri/timecheck/output.$PBS_ARRAYID.txt 2> /chongle/jeri/timechec
These are my errors
#Use of uninitialized value in concatenation (.) or string at line 18.
#Use of uninitialized value in scalar chomp at /chongle/jeri/timecheck
+/MUSCLEHMM.pl line 19.
#Use of uninitialized value in open at /chongle#/jeri/timecheck/MUSCLE
+HMM.pl line 20.
#No such file or directory at /chongle/jeri/timecheck/MUSCLEHMM.pl lin