Michael D Schleif wrote:
>
> One more way to explain this:
>
> [A] Using Code #1, the Perl mkdir successfully creates $dir/$dest, and
> goes on to call $prog. $prog fails, because it will not accept $dir as
> a valid directory while using forward-slashes (/). At one trial, the
> stderr returned
* $Bill Luebkert <[EMAIL PROTECTED]> [2005:10:28:19:49:55-0700] scribed:
> The fact that you used the same code means nothing since 1) we seem to be
> talking apples and oranges and 2) your bat file is different.
> Then you don't have a problem - use the forward slashes to do the mkdir.
> NO!
Michael D Schleif wrote:
>
> Please, take careful note of the above statement.
The fact that you used the same code means nothing since 1) we seem to be
talking apples and oranges and 2) your bat file is different.
>> If your mkdir is failing in the Perl script, could there be a permissions
>> p
* $Bill Luebkert <[EMAIL PROTECTED]> [2005:10:28:16:54:19-0700] scribed:
> Michael D Schleif wrote:
> > * $Bill Luebkert <[EMAIL PROTECTED]> [2005:10:28:07:21:26-0700] scribed:
> > I have cut-pasted your exact code. Please, recognize that my real code
> > does use tests of this nature.
Please,
Michael D Schleif wrote:
> * $Bill Luebkert <[EMAIL PROTECTED]> [2005:10:28:07:21:26-0700] scribed:
>> I ran it like this and it seems OK, but I don't have the same conditions:
>
> There's the rub ;>
>
>> use diagnostics;
>> use strict;
>> use warnings;
>>
>> my $prog = "E:/usr/ov/bin/nvhotbackup
I agree bill, it does not make sense, nonetheless on my win98 machine
(creak creak), the extra space is required.
jim
$Bill Luebkert wrote:
James Sluka wrote:
One more thing to try is to add a trailing space after the directory
spec, as in;
system qq{$prog "$dir " $dest}
or
Title: RE: spidering/crawling/scraping a site..
All,
Please disregard. It was another
value not updating, and I've got it fixed. Thanks for your
attention.
Joe
==
Joseph P. Discenza, Sr.
Programmer/Analyst
* $Bill Luebkert <[EMAIL PROTECTED]> [2005:10:28:07:21:26-0700] scribed:
> I ran it like this and it seems OK, but I don't have the same conditions:
There's the rub ;>
> use diagnostics;
> use strict;
> use warnings;
>
> my $prog = "E:/usr/ov/bin/nvhotbackup.bat";
> my $dir = 'E:/backup';
>
> i
Title: RE: spidering/crawling/scraping a site..
All,
I've got a dumped data
structure. I can print the string I dumped to:
$form_hash_ary_ref =
[
{
'desc' => 'Agreement to Provide
Insurance',
'name' =>
'AGREE_PPI
James Sluka wrote:
> One more thing to try is to add a trailing space after the directory
> spec, as in;
> system qq{$prog "$dir " $dest}
> or
> my $cmd = qq{$prog "$dir " "$dest"};
>
> I did some quick tests with;
> ##Perl code
> my $prog = 'c:\windows\desktop\some-batch.bat';
>
One more thing to try is to add a trailing space after the directory
spec, as in;
system qq{$prog "$dir " $dest}
or
my $cmd = qq{$prog "$dir " "$dest"};
I did some quick tests with;
##Perl code
my $prog = 'c:\windows\desktop\some-batch.bat';
my $dir = 'c:\windows\desktop\jim'
bruce [mailto:[EMAIL PROTECTED] wrote:
> mark...
>
> i'm actually faced with a greater issue. i'm looking to
> crawl/extract/download the site. simply scraping each site
> doesn't get me
> the underlying files for the site, in the correct location/names on my
> server, to allow me to kind of repl
mark...
i'm actually faced with a greater issue. i'm looking to
crawl/extract/download the site. simply scraping each site doesn't get me
the underlying files for the site, in the correct location/names on my
server, to allow me to kind of replicate the basic links of the site.
this requires a cr
Michael D Schleif wrote:
> * On 2005:10:27:15:07:31-0500 I, Michael D Schleif <[EMAIL PROTECTED]>,
> scribed:
>> I have a perl script that calls a batch file (necessary), and passes it
>> two arguments. The first argument is a directory name, and the second a
>> simple label.
>>
>> When I used fo
Bruce,
Hehe... Gotta hand it to ya, you posted code this time :)
Here's what's going on. WWW::CheckSite::Spider is using the Mech class you
specify. You specified a class by the name of BA_Mech. So what you have to
do in your BA_Mech class is provide the information you need to log in. Make
BA_Me
* On 2005:10:27:15:07:31-0500 I, Michael D Schleif <[EMAIL PROTECTED]>, scribed:
> I have a perl script that calls a batch file (necessary), and passes it
> two arguments. The first argument is a directory name, and the second a
> simple label.
>
> When I used forward-slashes (/) everywhere, the
16 matches
Mail list logo