Re: checking for file existence

2013-09-27 Thread RENATO AUGUSTO CORREA DOS SANTOS
Dear Fish, Thank you so much for your excellent tips. I will check both the use of ARGV and the wrong indentation. This is still not clear for me. Best, Renato. On Thu, Sep 26, 2013 at 3:18 AM, Shlomi Fish wrote: > Hi Renato, > > people here helped you but here are a few comments. > > On

Re: checking for file existence

2013-09-27 Thread Mike Flannigan
On 9/25/2013 2:38 PM, Renato wrote: 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

Re: checking for file existence

2013-09-26 Thread Rob Dixon
On 25/09/2013 20:38, RENATO AUGUSTO CORREA DOS SANTOS wrote: 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

Re: checking for file existence

2013-09-25 Thread Shlomi Fish
Hi Renato, people here helped you but here are a few comments. On Wed, 25 Sep 2013 16:38:22 -0300 RENATO AUGUSTO CORREA DOS SANTOS wrote: > 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 t

Re: checking for file existence

2013-09-25 Thread Jim
Perhaps file or directory permissions related to the file being checked based on the user running the perl script? Jim On 9/25/2013 4:07 PM, Peter Ezetta wrote: Hi Renato, Welcome to Perl and to the list! I took a quick run through your code, and it's working fine for me. Are you calling it

Re: checking for file existence

2013-09-25 Thread Peter Ezetta
Hi Renato, Welcome to Perl and to the list! I took a quick run through your code, and it's working fine for me. Are you calling it with "perl script.pl "? The behavior you describe almost sounds like you are not providing the argument when you call the script. Hope this was helpful! Peter O

Re: checking for file existence

2013-09-25 Thread Paul Johnson
On Wed, Sep 25, 2013 at 04:38:22PM -0300, RENATO AUGUSTO CORREA DOS SANTOS wrote: > Hi, all. > > I am a very begginer in PERL starting today in this mailing list! :-) I > will try to work especially with Bioinformatics. Welcome! > I am trying to verify the existence of a file in PERL; however,