use constant WEBSERVER => 'my-server'; use constant PORT => '1087'; use Frontier::Daemon; my $d = Frontier::Daemon->new( methods => { TestLargeCall => \&TestLargeCall, }, LocalAddr => WEBSERVER, LocalPort => PORT, ); sub TestLargeCall { # process takes more then the default 180 secs }