in reply to Please Comment

What do you mean.. "parse" a "web file"? What's a web file?

Is this data retrieved from a remote location, saved to a local storage system? Does the file contain html? If so- maybe you want to parse the html tree.

Maybe you're just raking the woods for information. Maybe you just need to wget the stuff and grep out the content... ?

For example.. retrieve the data and grep out lines with some links..

$ wget http://perlmonks.org/?parent=747704;node_id=3333 -O - | grep 'a href='
  • Comment on Re: Parsing an HTML page using a PERL script

Replies are listed 'Best First'.
Re^2: Parsing an HTML page using a PERL script
by developer_p (Initiate) on Mar 12, 2009 at 12:20 UTC
    Can any one throw some light on the updated code?
      That code relies on non-existant url http://wwwin-dcb.abc.com/Travel/dcq.cgi? ... maybe you want HTML::SimpleLinkExtor