Index: t/response/TestModules/cgiupload.pm =================================================================== RCS file: /home/cvs/modperl-2.0/t/response/TestModules/cgiupload.pm,v retrieving revision 1.2 diff -u -r1.2 cgiupload.pm --- t/response/TestModules/cgiupload.pm 11 Apr 2002 11:08:45 -0000 1.2 +++ t/response/TestModules/cgiupload.pm 31 Oct 2003 21:00:06 -0000 @@ -13,11 +13,10 @@
my $cgi = CGI->new;
+ local $\;
+ local $/;
my $file = $cgi->param('filename');
-
- while (<$file>) {
- print;
- }
+ print <$file>;Apache::OK; }
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
