Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Mojo app running IIS CGI

by alexander_lunev (Pilgrim)
on Feb 11, 2021 at 17:33 UTC ( #11128247=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    .. 
    index.pl
    ...
    dir1/somescript2
    dir2/somescript3
    dir3/somescript4
    
  2. or download this
    script/app.pl
    lib/App.pm
    ...
    lib/App/Controller/Dir2.pm
    templates/layouts/default.html.ep
    templates/main/index.html.ep
    
  3. or download this
    #!perl
    
    ...
    BEGIN { unshift @INC, "$FindBin::Bin/../lib" }
    use Mojolicious::Commands;
    Mojolicious::Commands->start_app('App');
    
  4. or download this
    package App;
    use Mojo::Base 'Mojolicious';
    ...
       $r->get('/dir2/somescript4')->to('dir2#somescript4');
    }
    1;
    
  5. or download this
    package App::Controller::Main;
    use Mojo::Base 'Mojolicious::Controller';
    ...
      $self->render();
    }
    1;
    
  6. or download this
    package App::Controller::Dir1;
    use Mojo::Base 'Mojolicious::Controller';
    ...
    }
    # etc...
    1;
    
  7. or download this
    perl script/app.pl
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11128247]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (1)
As of 2021-06-19 05:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (91 votes). Check out past polls.

    Notices?