- or download this
#!/usr/bin/perl
...
my $outputfile = <STDIN>;
chomp($outputfile);
print "User input: $outputfile\n";
- or download this
pp -o inputtest inputtest.pl
- or download this
Please enter an output file name: testfile.txt
User input: testfile.txt