Hello there,

without some specifics, such as example input and required output there's not 
a lot we can do here.

However, for ideas on how to extract the required data, look at using regex 
(regular expressions) by doing 'perldoc prelre'.  For ideas on formatting the 
report look at perl formatting by doing 'perldoc perlform'.

If you need more help, give us some more to go on.

Gary

On Wednesday 20 June 2001 12:45 pm, Govinderjit Dhinsa wrote:
> Hi, I am new to perl and have been chucked in the deep end!!!   I have been
> asked to write a perl script, with a output in report style;
>
> Description for script:
> Read a file,                                              (sorted)
> take certain data from the file,              (problem)
> put the certain data in to fields.            (problem)
>
> The big problem being that the File is not sorted in any form, e.g. no
> existing columns or fields or Headings!
>
> What I need to get from the file are:
> ID NUMBER,                     BranchNAME,                     ADDRESS.
>
>
> The file contains the above 3 data types and about another 5, which I need
> to get rid off!!!!!
>
> Can any body please suggest how do this task or what I need to read up on
> (topics e.g. Report writing etc) or any other tutorials on report writing
> or, any thing to show me how to get certain data from a file
> please!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> Any help would be appreciated as I only have two days to this in!!!
>
> Somebody please help!

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     

Reply via email to