to activate URL

2001-10-15 Thread Sunthari
Dear List, I have a simple question here.I have extracted and displayed the URL using WWW-Search Module. The output are displayed for the follows: print $results->url,"\n"; print $q->br; print $results->title,"\n"; print $q->br; print $results->descr

to activate URL

2001-10-15 Thread Sunthari
Dear List, I have a simple question here.I have extracted and displayed the URL using WWW-Search Module. The output are displayed for the follows: print $results->url,"\n"; print $q->br; print $results->title,"\n"; print $q->br; print $results->descr

extract concordance line s from HTML file

2001-10-15 Thread Sunthari
Hi, Can anyone help me with this codes ? I have tried extracting HTML to plain text and then use a pattern matching to extract the concordance lines. Really hope someone can show what's wrong with the attached code. Thanks in advance, #!usr\perl\bin -w use strict; use HTML::FormatText; use

Help on script

2001-08-20 Thread Sunthari
Dear List, I am new to programming and currently looking into Perl. I am going thru the available Perl tutorial in the net but there are less examples especially on how to use modules. I have wrote this simple script of match word and count it for a text file (well, did some cut-n-paste here and

Re: Help on script

2001-08-21 Thread Sunthari
ramming should NOT buy > this book ... > > If you want to learn programming, I can only > recommend 'Algorithms + Data > Structures = Programs' by Niclaus Wirth (out of > print). > > - Roger - > > > - Original Message - > From: "Suntha

Thanks for help, more to figure

2001-08-27 Thread Sunthari
Dear List, Thanks for your supportive remarks and comments of my script the other day. After getting a book to read, I 'm aware of the mistakes made and there's a lot more to learn to write better codes. I have something to discuss based on the scripts used to find the no. matching words in a te

Pls help me 2 troubleshoot

2001-09-19 Thread Sunthari
Dear List, I'm quite a beginner to Perl (it's going to be almost 2 mths).I've written the following codes and I can't seem to get the correct output where user's can choose their search engine for search. Pls correct me since I'm really lost. Secondly, I want to use the HTML::TreeBuilder to read

Re: Pls help me 2 troubleshoot

2001-09-19 Thread Sunthari
', AltaVista 'av' and Google 'gg'. > Why do you call the subroutine only once? Do I have to call it many times in a loop. Once user goes back to search, it a brand new search, right? Correct me if I 'm wrong but basically I want to read the input from the dropdo

Need help desperately on codes!

2001-10-22 Thread Sunthari
Hi All, I really someone understands what I 'm trying to do with the codes below.Pls help me to troubleshoot the codes below. I 'm sure I look dumb in this but pls. feel free to give ur comments and suggestion. Rgds, #!/usr/bin/perl -w require WWW::Search; use CGI; $q = new CGI;