Re: formatting a list

2013-09-27 Thread Shlomi Fish
Hi Rajeev, On Fri, 27 Sep 2013 22:59:01 -0700 (PDT) Rajeev Prasad wrote: > hello, > > following is obtained by concatenating 3 values using an underscore to > produce a list: > > abc_12_4567 > xy4z_xtr4_sdf > PQRSDR_xcvf_scc234 > i want them to look neat, something like this: where they look i

formatting a list

2013-09-27 Thread Rajeev Prasad
hello, following is obtained by concatenating 3 values using an underscore to produce a list: abc_12_4567 xy4z_xtr4_sdf PQRSDR_xcvf_scc234 i want them to look neat, something like this: where they look in line. I do not know before hand how long each word would be abc124567 xy4z___

Re: hash function and combining function/operator

2013-09-27 Thread Gerhard Jungwirth
Hi, On 09/24/2013 12:17 AM, David Christensen wrote: > beginners: > > H() is the hash function as you want the same hash of a substring regardless of the position, I think you cannot make the hash dependent on the position of each character in the string. A simple solution could be to ad

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