Mocking IO - script



examples/mocking_io/game.pl
use strict;
use warnings;

print("Enter your name: ");
my $name = <STDIN>;
chomp $name;
print("Hello '$name'\n");