Re: Problem setting $= (Format Lines Per Page Special Variable)

2013-11-07 Thread Paul Johnson
On Thu, Nov 07, 2013 at 11:44:27AM +0800, Shaji Kalidasan wrote: Dear Perlers, I am facing problems while setting the $= special variable. Even though I set it to 10 it takes the default value which is 60. In line number 31, I set the variable to a value of 10. It is not printing the page

Re: Problem setting $= (Format Lines Per Page Special Variable)

2013-11-07 Thread Shaji Kalidasan
Dear Paul, Thanks for exactly pointing out where I am going wrong. Your solution works like a champ.  Sincerely, Shaji --- Your talent is God's gift to you. What you do with it is your gift back to God.

please help correct my script

2013-11-07 Thread Wang, Li
Dear Perl Users I have hundreds of input files, named as geneName_paml_formated.mlc In each file, there are some contents similar as follows: w (dN/dS) for branches: 0.00010 1.07967 145.81217 0.00010 dN dS for each branch branch t N S dN/dS dN dS N*dN S*dS

Re: please help correct my script

2013-11-07 Thread David Precious
On Wed, 6 Nov 2013 23:51:04 + Wang, Li li.w...@ttu.edu wrote: Dear Perl Users I have hundreds of input files, named as geneName_paml_formated.mlc In each file, there are some contents similar as follows: w (dN/dS) for branches: 0.00010 1.07967 145.81217 0.00010 dN dS for each

Re: please help correct my script

2013-11-07 Thread Shaji Kalidasan
Dear Wang, It is actually writing the desired info to the output file summaryOFdNdS.txt. Here is the content of the output file. In my case, I gave the filename mydata.txt as command line argument [content of summaryOFdNdS.txt] geneNamebranchtNSdN/dSdNdSN*dNS*dS mydata.txt5..1      0.043  

Re: please help correct my script

2013-11-07 Thread Jim Gibson
On Nov 7, 2013, at 2:28 AM, David Precious wrote: On Wed, 6 Nov 2013 23:51:04 + Wang, Li li.w...@ttu.edu wrote: Dear Perl Users I have hundreds of input files, named as geneName_paml_formated.mlc In each file, there are some contents similar as follows: w (dN/dS) for branches:

RE: please help correct my script

2013-11-07 Thread Wang, Li
Dear Shaji Yes, that is what I want for the output file. Best Li From: Shaji Kalidasan [shajiin...@yahoo.com] Sent: Thursday, November 07, 2013 4:30 AM To: Wang, Li; beginners@perl.org Subject: Re: please help correct my script Dear Wang, It is actually writing

RE: please help correct my script

2013-11-07 Thread Wang, Li
Dear Shaji I am sorry that I didnot check my result file very carefully. My script actually works. The else line makes the script output a lot of no such line found, which makes me confused. I commented out the else command now. Thanks! Best Li From: Shaji

Running older cgi scripts on nginx

2013-11-07 Thread Angela Barone
Hello, I've set up a new cloud account to get familiar with nginx and I'd like to know if it's possible to run an older cgi perl script, and if so, how would I go about doing that? I think I read somewhere that it could be done with Plack, but I can't find any instructions on how to

Re: Running older cgi scripts on nginx

2013-11-07 Thread Jim Gibson
On Nov 7, 2013, at 3:22 PM, Angela Barone wrote: Hello, I've set up a new cloud account to get familiar with nginx and I'd like to know if it's possible to run an older cgi perl script, and if so, how would I go about doing that? I think I read somewhere that it could be done