Hi,
I'm using swish-e-2.1-dev-24 and when I use a list of URLs as the
base_url attribute in the spider.pl config file, I get the following error:
"Bizarre copy of ARRAY in sassign at ./spider.pl line 93."
(Using perl 5.6.0 or 5.6.1 on Linux).
This seems to be related to this code:
for (ref $s->{base_url} eq 'ARRAY' ? @{$s->{base_url}} :
$s->{base_url} ) {
$s->{base_url} = $_;
process_server( $s );
}
Which looks like it's iterating over an array that will then change
underneath the iterator. Replacing the code by the following:
my @urls = ref $s->{base_url} eq 'ARRAY' ? @{$s->{base_url}} :
$s->{base_url};
for my $u ( @urls) {
$s->{base_url} = $u;
process_server( $s );
}
causes the error to go away. Interestingly running the original code
under the perl debugger also causes the error to not show up.
Except for this, everything has gone swimmingly with swish-e 2.2 -
thanks to all the developers for putting together such a useful piece of
software.
Regards,
Malcolm
**********************************************************************
Symbian Ltd is a company registered in England and Wales with registered number 01796587 and registered office at 19 Harcourt Street, London, W1H 4HF, UK.
This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify postmaster@symbian.com and delete the message and any attachments accompanying it immediately. Symbian does not accept liability for any corruption, interception, amendment, tampering or viruses occuring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy.
**********************************************************************
Received on Wed Nov 28 09:17:40 2001