Perl -> PerlEx problem
Posted on 2004-08-14
The code below works fine with Perl (if I name the script .cgi), but as soon as I move it to use PerlEx instead (name the script .plex) it stops working -- it never goes into the while loop. I am using strict and $tmpPathorig is set to something like c:\images\image.jpg, and $bytesread, $size, and $data are declared like "my $size;" at the beginning of the script.
Any idea what I can do to make it work with PerlEx?
print OUT $data;