Skip to content
Browse files

Update lib/AnyEvent/Open3/Simple.pm

Fixed typo
  • Loading branch information...
1 parent 74b3dd2 commit 66ad069e159e9a318ba83f78321b418fa5311579 @hercynium committed Oct 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/AnyEvent/Open3/Simple.pm
View
2 lib/AnyEvent/Open3/Simple.pm
@@ -109,7 +109,7 @@ sub new
{
state $default_handler = sub { };
my $class = shift;
- my $args = ref $_[0] eq 'HSAH' ? shift : { @_ };
+ my $args = ref $_[0] eq 'HASH' ? shift : { @_ };
my %self;
$self{$_} = $args->{$_} // $default_handler for qw( on_stdout on_stderr on_start on_exit on_signal on_fail on_error );
bless \%self, $class;

0 comments on commit 66ad069

Please sign in to comment.
Something went wrong with that request. Please try again.