$fh = upload('uploaded_file'); while (<$fh>) { print; }