Re: Perl scope like cscope

2013-04-25 Thread senthil kumar
I too looking for this... and later on moved to Padre, the Perl IDE (easy to read and write code). - Original Message - From: kavita kulkarni To: beginners@perl.org Cc: Sent: Thursday, 25 April 2013 8:32 PM Subject: Perl scope like cscope Hi, This could be naive. I use perl on linux

Re: Perl one liner....

2006-05-23 Thread M Senthil Kumar
On Tue, 23 May 2006, Nagasamudram, Prasanna Kumar wrote: |I'm trying to do a find and replace on the file content using the |following command on windows. [snipped] |perl -p -i.bak -e 's/FOO/BAR/g' abc.txt [snipped] Hi, Try: $ perl -pi.bak -e 's/FOO/BAR/' abc.txt Note: abc.txt has BAR, abc

Re: What are the most successful applications of Perl? Thanks.

2006-05-23 Thread M Senthil Kumar
On Tue, 23 May 2006, Japerlh wrote: |What are the most successful applications of Perl? |Thanks. [snipped] Hi, Have a look at this page: http://bioperl.org/wiki/How_Perl_saved_human_genome written by Dr. Lincoln Stein. Regards, Senthil -- To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Split function help

2006-04-17 Thread M Senthil Kumar
On Mon, 17 Apr 2006, M Senthil Kumar wrote: |On Mon, 17 Apr 2006, Irfan J Sayed wrote: | | ||i want to split this line in . and store in array. ||I am using following code ||my @name = Split(/./, $test); | | |Try escaping "." with a "\". | |HTH, | |Senthil | And oh I forgot:

Re: Split function help

2006-04-17 Thread M Senthil Kumar
On Mon, 17 Apr 2006, Irfan J Sayed wrote: |i want to split this line in . and store in array. |I am using following code |my @name = Split(/./, $test); Try escaping "." with a "\". HTH, Senthil -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: msgbox in perl script

2006-03-07 Thread M Senthil Kumar
On Tue, 7 Mar 2006, Irfan J Sayed wrote: |Hi, | |Is ther any function in perl to compare the dates ? | |if yes then what is the syntax Before posting please remove the irrelevant part of the messages. And the answer to your query is yes. Look for Date::Calc in cpan.org and as for the syntax find

Re: Frustration - split not working as expected

2005-04-01 Thread Mr M senthil kumar
Hi, On Fri, 1 Apr 2005, Brett Williams wrote: > The text file reads, > > :Weekly expenses...: > :1002.00: > :125.00: > :61864.35: > :890876.99: > :9.99: > > I want to print to screen all text between ":" on a new line. I > thought this would be easy :) > The final code i came up with is, > > op

Re: perl substituion

2005-01-28 Thread Mr M senthil kumar
On Fri, 28 Jan 2005, Anish Kumar K. wrote: > Say I have a string called returned from the text file.. > Hi $name- welcome to the world of $Logs. Country is $country. Time is $time > I am getting this from the text file and then in the program > I am printing this out. with its correponding values.

Re: Getting the dir structure

2004-12-02 Thread Mr M senthil kumar
t send the output: $!"; while (){ print OUT $_ if(/test(1)?\.\w+/); } Some assembly required, batteries not included :) HTH, Senthil +++++++ Senthil Kumar M Senior Research Fellow, Centre for DNA Fingerprinting and Diagno

Re: Foo (Bar)

2004-09-08 Thread M Senthil Kumar
Hi, On Wed, 8 Sep 2004, jason corbett wrote: > As a newbie, I have seen the statement "foo (bar)" mentioned in books > and and even on this site. I haven't yet seen what this actually mean as > I can assume that its justfor examples. If I am wrong please explain in > detail what this is about. I

Re: Please help me! Thanks.

2003-12-16 Thread Mr M senthil kumar
On Tue, 16 Dec 2003, pagoda wrote: > > for (my $value = -1; $value <= 1; $value += 0.1) { > print "$value\n"; > } Hi, I don't know if it might be helpful, but the following code works better: for ($value = -1; $value <= 1; $value += 0.1) { printf ("%.1f\n",$value); } This p

Re: [OT] Education Level

2003-12-08 Thread Mr M senthil kumar
> The job posting demanded a college degree. I had one > semester of college 20 years ago and normally classify > myself as "finished high school". I'm curious: What level of > education have list members attained? > Charles K. Clarkson > Head Bottle Washer, > Clarkson Energy Homes, Inc. > Mob

RE: Fetching web pages and displaying as text

2002-07-29 Thread Senthil Kumar M.
Hi, I tried it once more after including use HTTP:Request; It gives the same error message Senthil > > this is going to sound absolutely retarded, but did you include > > use HTTP::Request; > > in your code? =) > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Fetching web pages and displaying as text

2002-07-29 Thread Senthil Kumar M.
Hi, I am trying out some scripts using lib-www perl (LWP) module. Unfortunately i am behind a firewall and our network uses a proxy. I am using the following script to fetch a page and display the contents. It does not work, the error message says: "501 (Not Implemented) Protocol scheme '' is n

Re: concatenation pdf files

2001-12-09 Thread Senthil Kumar M.
Hi, You can do like this: cat file1.ps >> file2.ps (file2 has all the pages from file1 and file2) ps2pdf file2.ps file2.pdf Hope this helps Senthil On Thu, 6 Dec 2001 [EMAIL PROTECTED] wrote: > Hello, > > Is there a script based routine for concatenation > postscript or pdf files? > > So