[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re(2): [MacPerl] get urls



thanx a ton but i have a few more questions now...can i get a list of all
commands in LWP::Simple or LWP::anything??  also, can macperl go to a web
page and input values into a form and then submit that form and get the
resulting page?  say if i wanted it to search yahoo or something?  thanx
again.




On Mon, Apr 12, 1999, Paul J. Schinder <schinder@pobox.com> wrote:

>On Mon, Apr 12, 1999 at 07:28:53PM -0500, Rick wrote:
>} is there a way to have netscape or any web browser grab a web site from
>} the net and either send it to macperl or save it as source?  if i can
>} send it to macperl, how would i read it line by line?  like this?:
>
>Don't use a browser, use MacPerl:
>
>use LWP::Simple;
>
>getstore ($url,$file) or die;
>open(URL,"<$file") or die;
>
> 
> while(<URL>) {
>  if($_ =~ /stuff here/) {
>     do something;
>   }
> }
>
>
>} 
>} any help would be appreciated.  thanx.
>} 
>} 
>
>-- 
>Paul Schinder
>schinder@pobox.com
>


===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org