- Impact
- 0
Are there any genius perl scripters out there?
If there are can you give me some help.....I have no idea how to create perl scripts
My task is as follows:
I need to create a script that will read a text file line by line and print the data into a HTML page and format in appropriate tables.
The script must read each line and store it in a suitable data contruct. The file consist of line of comments beginning with # and lines of data. A valid data line consists of 6 space delimited fields in the following order:
Surname (case insensitive)
Forename (case insensitive)
Subject (case insensitive)
Mark1 (integer between 0 - 100)
Mark2 (integer between 0 - 100)
Mark3 (integer between 0 - 100)
For example a data line would read as follows:
Yates Ian,Bob Science 75 54 45
In other words how do i parse the data from the text file to a properly formatted HTML pages with tables?
Any help will be appreciated!!
If there are can you give me some help.....I have no idea how to create perl scripts
My task is as follows:
I need to create a script that will read a text file line by line and print the data into a HTML page and format in appropriate tables.
The script must read each line and store it in a suitable data contruct. The file consist of line of comments beginning with # and lines of data. A valid data line consists of 6 space delimited fields in the following order:
Surname (case insensitive)
Forename (case insensitive)
Subject (case insensitive)
Mark1 (integer between 0 - 100)
Mark2 (integer between 0 - 100)
Mark3 (integer between 0 - 100)
For example a data line would read as follows:
Yates Ian,Bob Science 75 54 45
In other words how do i parse the data from the text file to a properly formatted HTML pages with tables?
Any help will be appreciated!!















