Decommenting any of the quadruple# causes errors. Any thoughts?my $q = new CGI; my $file = $q->param( "file" ) #this is passed correctly my $fh = $q->upload( $file ); #this returns "" #Necessary for non-unix systems ####binmode $fh;#### binmode OUTPUT; #write contents to output file ####while ( read( $fh, $buffer, BUFFER_SIZE ) ) {#### #### print OUTPUT $buffer; #### ####} #### close OUTPUT;
In reply to Filehandles with CGI.pm by abecedae
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |