Hi, all.
I am a very begginer in PERL starting today in this mailing list! :-) I
will try to work especially with Bioinformatics.
I am trying to verify the existence of a file in PERL; however, is seems
not to work. It always returns "The file $file_seqs does not exist!!!".
Do you know where I am making a mistake?
<code>
#!/usr/bin/perl
use strict;
my $file_seqs;
$file_seqs = $ARGV[0];
if (!-e $file_seqs) {
print "The file $file_seqs does not exist!!! \n";
exit(0);
}
else {
print "The file $file_seqs exist!!! \n";
}
</code>
--
*Renato Augusto CorrĂȘa dos Santos (Undergraduate Researcher)*
Bioethanol Science and Technology Laboratory (ABTLuS-CNPEM)
+55 19 9722 5665