#!/usr/bin/perl use strict; use warnings; print "Please enter some text: "; my $input = ; chomp($input); print "You typed $input\n";