in reply to using change directory within perl script
use File::chdir;
Did you read the documentation for this module? You are not using it anywhere in this program.
chdir '$dir/Hsapiens_fasta_folder'; ... chdir '$dir/targetp-1.1';
You should verify that these functions worked correctly:
chdir '$dir/Hsapiens_fasta_folder' or warn "Cannot chdir to '$dir/Hsap +iens_fasta_folder' because: $!"; ... chdir '$dir/targetp-1.1' or warn "Cannot chdir to '$dir/targetp-1.1' b +ecause: $!";
|
|---|