Advertisement
Guest User

How to use Mojolicious::Plugin::CGI with plenv

a guest
Jun 22nd, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.82 KB | None | 0 0
  1.     $self->cgi->run(                                                                                                  
  2.         script => 'eval "$(plenv init -)" && ' . "$path_info/$script",                                                
  3.         env => {                                                                                                      
  4.             %ENV,                                                                                                    
  5.             PLENV_VERSION => '5.16.3',                                                                                
  6.         },                                                                                                            
  7.     );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement