#!/usr/bin/perl use strict; use warnings; print "Please enter an output file name: "; my $outputfile = ; chomp($outputfile); print "User input: $outputfile\n"; #### pp -o inputtest inputtest.pl #### Please enter an output file name: testfile.txt User input: testfile.txt