Skip to content

Instantly share code, notes, and snippets.

@soh335
Created January 8, 2013 14:54
Show Gist options
  • Save soh335/4484365 to your computer and use it in GitHub Desktop.
Save soh335/4484365 to your computer and use it in GitHub Desktop.
use strict;
use warnings;
use Term::ReadLine;
my $term = Term::ReadLine::Gnu->new('say');
while ( defined ( $_ = $term->readline('say>') ) ) {
system 'say', $_;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment