You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!usr/bin/perl
|
|
|
|
use warnings;
|
|
use strict;
|
|
|
|
print "Input something and we'll print it: ";
|
|
my $string = <STDIN>;
|
|
|
|
chomp( $string ); # Last character removed only if a newline
|
|
print "\nThis is safer. Still '$string.'\n";
|
|
|
|
|