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

[MacPerl] Output stream file size limits



Hello all,

Is there a limit to how much data can be "throughputted"
a CGI script written in MacPerl. I am using perl to generate
and/or modify HTML pages, and whenever the resulting file
size exceeds 32k, the WebStar server quits sending data,
or so it appears. I have served much larger files with Web*
and without MacPerl, and the 32k number sounds like a limit
imposed my MacPerl somewhere.

Just for the record, I'm using MacPerl 5.19r4 on a PPC, and
I am using Web* 3.0. The perl I'm using is something like:

    open(SHTEXTTOP,"form_top.txt") or die "form_top.txt: $!";
       while (<SHTEXTTOP>) {
         $sh_line = $_;
         $sh_line =~ s/im_ref/$im_ref/g;
         $sh_line =~ s/s_dept_name/$s_dept_name/g;
         $sh_line =~ /SSFORM\[(.*?)\]/;
          $subber = $SSFORM[$1];
         $sh_line =~ s/SSFORM\[.*?\]/$subber/g;
         print $sh_line;
       }
    close SHTEXTTOP;

where there are about 5 of these opening and modifying 
various parts of what used to be one HTML file.

Soooo, how do I modify 
1) the script
2) the MacPerl application
3) the Web* application

to get around this limit?

BTW - This does not happen when I save the script and 
run it on either NT or Unix.

Thanks for any help,
Jon


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch