Help for this page

Select Code to Download


  1. or download this
    $app_server = AppServer->new(
            logger => curry( \&log_to_handle, *STDERR, "app-server" ),
            ...
    );
    
  2. or download this
    $app_server = AppServer->new(
        logger => sub { log_to_handle( *STDERR, "app-server", @_ ) },
        ...
    );