DavidSzczesniak
12/6/2017 - 11:07 PM

Define <STDIN> variable and chomp in one line

Nice shortcut for fetching standard input and shaving off the newline at the same time.

chomp (my $variable = <STDIN>);