![]() |
|
#1
|
|||
|
|||
Read html filei need to search a word in a html file and also store the forward links of this page....can u help me doin this??
language or platform no constraint... |
|
#2
|
|||
|
|||
Re: Read html fileperl scripts will do for example.
In the below program the statement if($_ =~ /IP Address/) is checking for string "IP Address" $ipaddress; system"ipconfig > ipnumber.txt"; open( IPFILE, "ipnumber.txt" ); while (<IPFILE>) { #Assigns each line in turn to $_ if($_ =~ /IP Address/) { $substrn=":"; $pos = index($_,$substrn); $ipaddress=substr($_,$pos+1,15); print "System IP Number is : $ipaddress"; last; } } close(IPFILE); Sorry CPP lovers to post a perl script here.... |
|
#3
|
|||
|
|||
Re: Read html fileSorry to hijack your post... hehe
Hi Inevitable, where can i get tutorials about perl scripts??? |
|
#4
|
|||
|
|||
Re: Read html fileinstall perl or active perl. Tutorials will be installed to the system.
Online help - perldoc.perl.org/index-tutorials.html There are perl forums too... You can get through google. |
Recent GIDBlog
Developing GUIs with wxPython (Part 3) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Airport Log program using 3D linked List : problem reading from file | batrsau | C Programming Language | 11 | 29-Feb-2008 07:44 |
| Read HTML File | jestges | C Programming Language | 4 | 16-Sep-2007 19:15 |
| How to detect end of file with read() function call? | nkhambal | C Programming Language | 6 | 12-Oct-2004 01:08 |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 10:53 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 11:28 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The