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
> I have a file with thousands of line like : > /abc/def/ijk/test.txt > /pqr/lmn/test1.t > I want to get the directory where the files test.txt and test1.txt are > lying. Hi, You can try the following: #!/usr/bin/perl open (IN,"output_file") || die "Cannot send the output: $!"; while (){

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