I'm not exactly sure what you want either, but no module is needed for:
system ('start', 'C:\progra~1\intern~1\IEXPLORE.exe', 'http://yahoo.com');
opening the browser to a certain URL on your desktop.
Bill's way will download the HTML into a file which is certainly useful
many times. I just d
T&C Winquist wrote:
>
> I searched CPAN for a module that would emulate clicking a link on a web
> page. Let's say I know that I want to click the link " href=r/fo>Photos" on yahoo's index page. I would like a script that
> would emulate that click and load the resulting page into the web brows
T&C Winquist wrote:
> I searched CPAN for a module that would emulate clicking a link on a web
> page. Let's say I know that I want to click the link " href=r/fo>Photos" on yahoo's index page. I would like a script that
> would emulate that click and load the resulting page into the web browser
T&C Winquist wrote:
> I can't get the cookies to load when running the script from a domain other
> than my domain (globalnamespace.com). I need to be able to load the cookie
> set by my globalnamespace.com script from anywhere, not just from within
> globalnamespace.com. I made the changes you
I searched CPAN for a module that would emulate clicking a link on a web
page. Let's say I know that I want to click the link "Photos" on yahoo's index page. I would like a script that
would emulate that click and load the resulting page into the web browser
that calls the script. It would load
I can't get the cookies to load when running the script from a domain other
than my domain (globalnamespace.com). I need to be able to load the cookie
set by my globalnamespace.com script from anywhere, not just from within
globalnamespace.com. I made the changes you recommended $Bill and this i
On Wed, 4 Sep 2002, T&C Winquist wrote:
> I'm trying to use HTTP::Cookies and LWP::UserAgent to fake a real user HTTP
> request. When executing this script from a browser, I want to set the
> cookies that the website normally would and load the page that the website
> normally would also. I can
-8<-
-
## long-time operations here:
$ftp = Net::FTP->new($site,
Timeout => 60,
Passive => 1,
Debug => 3)
or die "Can't connect: $@\n";
$ftp->login($
I am wanting to test to make sure that an ftp transfer in fact takes
place. Searching through newsgroups, saw several recommendations re: Perl
Cookbook's 16.21, which I have used below. I think I have done this
correctly -- code below -- but will this be enough?
I am assuming that if the script
T&C Winquist wrote:
> I'm trying to use HTTP::Cookies and LWP::UserAgent to fake a real user HTTP
> request. When executing this script from a browser, I want to set the
> cookies that the website normally would and load the page that the website
> normally would also. I can't get the cookie par
Khan, Moin wrote:
> I am getting the error as follows:
> use Date::Manip;
>
> Server uptime is 20020903073500.00-420ERROR: Date::Manip unable to
> determine TimeZone.
> Date::Manip::Date_TimeZone called at D:/Perl/lib/Date/Manip.pm
> line 627
> Date::Manip::Date_Init() calle
When you installed Date::Manip, a file called Manip with no extension
was created in (e.g. my location):
D:\Perl\Site\Lib\Date
In that file you should set your Timezone. Mine is CST6CDT.
In the file Manip.pm is a line:
$Cnf{"GlobalCnf"}= "";
Change it to read:
$Cnf{"GlobalCnf"}
Carl Jolley wrote:
>
> AFAIK, on Windows's OSes the $0 variable is just the basename not the
> full patch name. If the script was running as a cgi app, the
> $ENV{PATH_TRANSLATED) _may_ provide the scripts full path name from
> which the script's directory can be determined with a regex.
>
De
>I'm trying to use HTTP::Cookies and LWP::UserAgent to fake a real user HTTP
>request. When executing this script from a browser, I want to set the
>cookies that the website normally would and load the page that the website
>normally would also. I can't get the cookie part to work. I'm able to
I'm trying to use HTTP::Cookies and LWP::UserAgent to fake a real user HTTP
request. When executing this script from a browser, I want to set the
cookies that the website normally would and load the page that the website
normally would also. I can't get the cookie part to work. I'm able to send
On Wed, 4 Sep 2002 [EMAIL PROTECTED] wrote:
>
> On 04/09/2002 11:51:33 Tillman, James wrote:
>
> >>
> >> [EMAIL PROTECTED] wrote:
> >> >
> >> >
> >> > Hi!
> >> >
> >> > There is some way to get the current directory path of perl script?
> ^
> >>
>
Hi to everyone!
I've being using Win32::AdminMisc::UserGetMiscAttributes on a W2K Advanced
Server PDC (SP3) for a while with no problems at all. However, i've found
serious problems using it on a BDC.
I wrote this simple script for testing
<< test code begin >>
use Win32::AdminMisc;
my $lName
I think it's the last reboot in GMT. Anyway, I didn't want to spend too
much time on it so this is what I did:
use DateManip;
$os_lastboot = $svruptime->{'LastBootUpTime'};
$os_lastboot = substr($os_lastboot, 0, index($os_lastboot, ".")); #
only want left of period
$os_lastboot = &DateCalc($os
A quick'n'dirty one :
$currentdirpath=`cd` ;
chomp $currentdirpath ;
_
Bruno Bellenger
Sr. Network/Systems Administrator
-Original Message-
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: Monday, Sept
On 04/09/2002 11:51:33 Tillman, James wrote:
>>
>> [EMAIL PROTECTED] wrote:
>> >
>> >
>> > Hi!
>> >
>> > There is some way to get the current directory path of perl script?
^
>>
>> Try core Cwd module.
>
>That actually returns the current directo
> -Original Message-
> From: $Bill Luebkert [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 7:34 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: Current directory path
>
>
> [EMAIL PROTECTED] wrote:
> >
> >
> > Hi!
> >
> > There is some way to get the
21 matches
Mail list logo