Re: copying a webpage and pasting to a text file

2008-12-25 Thread Bob goolsby
I seem to remember that Yahoo Finance has a Web-Services interface that may alloy you to get financial data. The current figured are lagged by about ten minutes or so. Take a look at the Yahoo Developer Network (http://developer.yahoo.com/) for more detail. B On Tue, Dec 23, 2008 at 7:13 PM, C

Re: copying a webpage and pasting to a text file

2008-12-25 Thread Gunnar Hjalmarsson
Collaborate wrote: On Dec 23, 3:34 pm, nore...@gunnar.cc (Gunnar Hjalmarsson) wrote: Collaborate wrote: I am wondering if there is a way to copy a webpage to a text file using Perl. use LWP::Simple; my $url = 'http://www.example.com/'; open my $fh, '>', 'webpage.txt' or die $!;

using Win32::IEAutomation; how to maximize IE

2008-12-25 Thread itshardtogetone
Hi, I have the script below but IE did not maximize. What must I do to maximize IE. Thanks #!/usr/bin/perl use strict; use warnings; use Win32::IEAutomation; # Creating new instance of Internet Explorer my $ie = Win32::IEAutomation->new( visible => 1, maximize => 1); # Site navigation $ie->gotoUR

Re: implementing algo

2008-12-25 Thread Mr. Shawn H. Corey
On Thu, 2008-12-25 at 19:15 +0530, Sharan Basappa wrote: > Hi Jenda, Rob, Shawn, > > I am attaching a sample flowchart figure. > > Step1 and Step2 are the process steps and D1 and D2 are the decisions. > > Will this code translate to the foll in perl? > > do > { > do > { > step1 >

Re: implementing algo

2008-12-25 Thread Sharan Basappa
Hi Jenda, Rob, Shawn, I am attaching a sample flowchart figure. Step1 and Step2 are the process steps and D1 and D2 are the decisions. Will this code translate to the foll in perl? do { do { step1 } while (D1) step2 } while (D2) What if D2 traces back to Step2 instead? How

Re: copying a webpage and pasting to a text file

2008-12-25 Thread Chas. Owens
On Wed, Dec 24, 2008 at 22:09, Collaborate wrote: > On Dec 23, 3:34 pm, nore...@gunnar.cc (Gunnar Hjalmarsson) wrote: >> Collaborate wrote: >> > I am wondering if there is a way to copy a webpage to a text file >> > using Perl. >> >> use LWP::Simple; >> my $url = 'http://www.example.com/