#!/usr/bin/perl use strict; use warnings; print "Enter your input:\n"; my $input = ; chomp $input; print "You typed: $input\n";