From b586a1287481fee475406a963ccb78f8baf25f97 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Fri, 23 Dec 2011 12:16:15 -0300 Subject: [PATCH] Removed indirect object syntax from the modulino portion of pt-fifo-split --- bin/pt-fifo-split | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pt-fifo-split b/bin/pt-fifo-split index ee32e061..d92d755a 100755 --- a/bin/pt-fifo-split +++ b/bin/pt-fifo-split @@ -1241,7 +1241,7 @@ sub main { # ######################################################################## # Get configuration information. # ######################################################################## - my $o = new OptionParser(); + my $o = OptionParser->new(); $o->get_specs(); $o->get_opts(); @@ -1258,7 +1258,7 @@ sub main { # We're not daemoninzing, it just handles PID stuff. Keep $daemon # in the the scope of main() because when it's destroyed it automatically # removes the PID file. - $daemon = new Daemon(o=>$o); + $daemon = Daemon->new(o=>$o); $daemon->make_PID_file(); }