box-o-sand/cli/exercise_02/input.pl

15 lines
158 B
Perl
Raw Normal View History

2011-01-07 02:28:28 +00:00
#!/usr/bin/env perl
use strict;
use warnings;
print "How about a line of input?: ";
my $inline = <STDIN>;
print "You said:\n";
print $inline;
1;
__END__