Help for this page

Select Code to Download


  1. or download this
    <FORM METHOD=POST ACTION=/cgi-bin/upload.pl>
    <INPUT TYPE=FILE NAME=UploadFile>
    <INPUT TYPE=SUBMIT>
    </FORM>
    
  2. or download this
    use CGI;
    my $q = new CGI;
    ...
    while (<$filename>) {
      # do something with each line of the file
    }