From 4469b61e3290813269678a16ba3508de086f6f0f Mon Sep 17 00:00:00 2001 From: doy Date: Tue, 3 Feb 2009 23:05:32 -0500 Subject: call new directly, not indirectly --- lib/IO/Pty/Easy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/IO/Pty/Easy.pm b/lib/IO/Pty/Easy.pm index 5470ac6..ab6a51d 100644 --- a/lib/IO/Pty/Easy.pm +++ b/lib/IO/Pty/Easy.pm @@ -89,7 +89,7 @@ sub new { bless $self, $class; - $self->{pty} = new IO::Pty; + $self->{pty} = IO::Pty->new; $self->{handle_pty_size} = 0 unless POSIX::isatty(*STDIN); return $self; -- cgit v1.2.3-54-g00ecf