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(); }