in reply to Perl Interpreter / OS problem

My guess is, that the problem comes from how the script interacts with the environment.

Seriously, with the very scant amount of detail you provide, it could either be that the atomic influx regulator isn't working, the blinker fluid has become stale, or the USB driver for the dilithium resonators isn't installed properly on one machine.

So you could either fix these problems or maybe post some code, and/or some more specific description of what relevant things your program does. Even better would be if you cut away as much as possible of your script and posted a 10 line script that exhibits the behaviour. See also How (not) to ask a question?.

Replies are listed 'Best First'.
Re^2: Perl Interpreter / OS problem
by Zenkyoki (Initiate) on Aug 26, 2004 at 13:54 UTC
    All of the appropriate modules are installed on both machines. Excerpt of the code where it hangs up:
    #perl.exe use strict; $|++; use WWW::Mechanize; my %seen; my $scraper = WWW::Mechanize->new(); my $mech = WWW::Mechanize->new(); my $home = <STDIN>; &main($home); sub main { my $line = shift; $scraper->get($line); my @LinkArray = $scraper->find_all_links(); if (defined @LinkArray){ my @urls = map { $_->[0]} @LinkArray; shift @urls if $seen{$line}++; foreach my $url(@urls){ print "\n", $url; ++$index_level; $scraper->get($url); next if $seen{$url}++; &followlink($url); } my $dest = shift @PublicLinks; &main($dest); return; }else{ return; } }
    It gives me an "Cannot Pass an unidentified VALUE to an Array" error.
      Hi,
      If u r using XP home, Active Perl tries to configure .pl and .plx (to perl.exe ) for IIS which donot exist on XP home.May be becuase of this the Active Perl May not have got installed correctly . So , can u pls download perl source and built the perl on ur XP machine and try it !
      hope this helps !
      All Monks Pls correct me , if iam wrong .
      regards,
      Swaroop