Help for this page

Select Code to Download


  1. or download this
    package MyApp; # modern Moo-based app
    use Moo;
    
    ...
    ConsumingModule::run();
    
    # render output
    
  2. or download this
    package Utility;
    ...
    my ($cgi, $session, $dbh, $config, ...); # create (but don't set)
    ...
    # 9950 lines of other code
    # (including similar code for setting up database handles, http client
    +s, and
    # other functionality that I have roles for)
    
  3. or download this
    package ConsumingModule;
    ...
    use Utility;
    ...
        set_session_param('foo', 'bar'); # interact with the session
    }