27462Re: perl doubt
- May 23, 2013Well ,thanks for your quick reply ..
I followed the below steps to do it,
1) using split , I could assign each tab delimited value and store it into a variable.
But I am not actually able to understand what exactly do I have to do .
Hence I need your help.
--- In email@example.com, "interrobang" <CedricCicada@...> wrote:
> This is obviously a homework assignment. You won't learn very much if we do your work for you. Please show us what you have tried so far and tell us what happens when you try to run your program. We'll try to help you over any rough spots you may be finding.
> --- In firstname.lastname@example.org, "ankit d" <ankit_dhebarin@> wrote:
> > I have a file which has 7 columns and is seperated by tabs. I have to perform the following but not sure how to do it;
> > Need perl experts help on this ;
> > All of the columns should be 32 bit integers and Nulls are not allowed.
> > Perform the following on this file.
> > 1) The file contains errors. Remove the bad lines. The description of the file
> > above should tell you which lines are valid. The program should remove the
> > lines and output them to the screen.
> > 2) Find the number of distinct rows for column 2 in the corrected file. Output
> > this number to the screen.
- << Previous post in topic Next post in topic >>