Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Parsing Text from a File to HTML Table

by Athanasius (Chancellor)
on Oct 27, 2013 at 12:45 UTC ( #1059897=note: print w/replies, xml ) Need Help??


in reply to Parsing Text from a File to HTML Table

Hello anupchandu, and welcome to the Monastery!

The obvious problem is that you are splitting the input on whitespace, but individual log file records also contain embedded whitespace. The solution depends on the way in which the data is delimited within the log file. For example:

If this advice fails to address your problem, you will need to detail both the format of your log file and the way in which your current script is “not successful.”

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1059897]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2017-10-19 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (257 votes). Check out past polls.

    Notices?