[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] CGI.pm 2.25 and MacPerl



At 17:21 9/25/96, Stephane Jose wrote:
># # # Can't find string terminator "END_OF_AUTOLOAD" anywhere before EOF.
>File 'HD Interne 700:Projets:Mirroir Site WEB:cgi-bin:librairies:CGI.pm';
>Line 505
>BEGIN failed--compilation aborted.
>File 'HD Interne 700:Projets:Mirroir Site WEB:cgi-bin:test.cgi'; Line 892

I have CGI.pm 2.22 and I believe it runs without modification.  I bet your
problem is file format.  You probably just ned to change the linebreaks.
Drop the CGI.pm file on this droplet that Matthias gave:

#!perl

$/ = "\012";
$^I = ".orig";

while (<>) {
    s/\012/\015/g;
    print;
}


You see, a string terminator, unlike most anything else in Perl, has to be
at the beginning of the line.  I just downloaded and checked the 2.25
source and it looks fine.  So I bet this is your problem.



#================================================================
perl -e 'srand();if(rand>.5){$i=0;foreach(@ARGV){@$i=split(//);$z
[$i]=0;foreach$l(@$i){$s[$i][$z[$i]]=$l;$z[$i]++;}$i++;}foreach$m
(@s){foreach$g(@{$m}){print$g}print" ";$m++}}else{print(join(" ",
@ARGV))}print"\n"' McClellan Clan Motto: Think On

Chris Nandor                                       pudge@pcix.com
PGP Key 0xB76E72AD                    http://pudge.petersons.com/