Biostar Beta. Not for public use.
Question: Problem to run a perl script from shell
0
Entering edit mode

Hi, why the error is given though the file is here

-bash-4.2$ ls
fna_PA.ls  resfinder.pl  tmp
-bash-4.2$ perl resfinder.pl
Error: No such file or directory

How to solve the problem?

ADD COMMENTlink 14 months ago saadleeshehreen • 60
Entering edit mode
1

how about perl -v?

ADD REPLYlink 14 months ago
swbarnes2
5.7k
Entering edit mode
1

Hello saadleeshehreen!

We believe that this post does not fit the main topic of this site.

Pure programming, not strictly bioinformatics, try Stack Overflow

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

ADD REPLYlink 14 months ago
WouterDeCoster
39k
Entering edit mode
0

What happens if you do perl ./resfinder.pl?

ADD REPLYlink 14 months ago
Joe
12k
Entering edit mode
0

same error message is showing

ADD REPLYlink 14 months ago
saadleeshehreen
• 60
Entering edit mode
1

Is resfinder.pl in turn looking for some file that it does not find? Perhaps the error message is about that file. Add the current directory to your $PATH by doing export PATH=$PATH:/dir_you_are_in and see if the helps.

ADD REPLYlink 14 months ago
genomax
68k
Entering edit mode
0

Please tell us how this is relevant to bioinformatics and not just a pure Perl/unix question.

ADD REPLYlink 14 months ago
RamRS
21k
This thread is not open. No new answers may be added
Similar Posts
Loading Similar Posts
Powered by the version 2.0