From: | GLENN.ROBERTSON@***.Edu |
---|---|
Subject: | Re: Matrix 2.0 Host FIXED |
Date: | Fri, 08 Dec 1995 18:58:12 -0700 (MST) |
> above. Since I'm totally Perl-illiterate I haven't got a clue as to how to
> fix it and am sort of hoping someone can help me out.
>
> I'm using something called "Larry Wall's Perl v4.x for NT/Win32/MSDOS"
> which came in a file called Perl32.zip that I downloaded from the ftp site
> Stephen mentioned in the follow-up message to the one containing the
> script. It's running under Windows 95 (sort of -- it tends to crash with a
> general protection error, too...)
>
> I am also using Larry Wall's Perl v4.x for NT/Win32/MSDOSon a Win 95 system.
> I must admit that I do not know perl either and I only made some guesses about
> the system.
Around line 254 I had trouble and changed the OR statement into:
if ($roll == 2) {$opt="Cascading";}
elsif($roll == 12) {$opt="Cascading";}
I put the PERL.EXE program in a directory in the DOS path. I ran the script by
typing:
perl matrix.pl a g
at the DOS command line. The above command would generate a random matrix for
an "Average" "Green" matrix node, of course.
I do not know why you are getting the error at line 100. My copy says the same
thing verbatim. Make sure all of the lines at that point end with the DOS line
delimiter (Chr$(13) & Chr$(10) in Visual Basic terminology) and not just the
Unix delimiter (Chr$(10) only). As pointless as it sounds, you might try
retyping the line manually. If there is an invisible ASCII character stuck in
there you would not see it in a text editor.