Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Mojolicious fails to respect @INC

by hesco (Deacon)
on Dec 28, 2017 at 17:12 UTC ( [id://1206342]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    List::Util version 1.45 required--this is only version 1.38 at local/l
    +ib/perl5/x86_64-linux-gnu-thread-multi/Moose/Exporter.pm line 9.
    BEGIN failed--compilation aborted at local/lib/perl5/x86_64-linux-gnu-
    +thread-multi/Moose/Exporter.pm line 9.
    ...
    Compilation failed in require at /opt/local/vote/vagrant/cf_vote/bin/.
    +./lib/Vote.pm line 5.
    BEGIN failed--compilation aborted at /opt/local/vote/vagrant/cf_vote/b
    +in/../lib/Vote.pm line 5.
    Compilation failed in require at (eval 12) line 1.
    
  2. or download this
    #!/usr/bin/env perl
    
    ...
    # Start command line interface for application
    require Mojolicious::Commands;
    Mojolicious::Commands->start_app('Vote','daemon','-l',"http://*:$liste
    +n_socket");
    
  3. or download this
    $VAR1 = [
              '/opt/local/vote/vagrant/cf_vote/bin/../lib',
    ...
              '/usr/local/lib/site_perl',
              '.'
            ];
    
  4. or download this
    package Vote;
    
    ...
    use MooseX::NonMoose;
    extends 'Mojolicious::Controller';
    use Mojolicious::Plugin::CGI;
    
  5. or download this
    use strict;
    use warnings;
    ...
    use Moose::Exporter;
    
    use Class::MOP;
    
  6. or download this
    package Moose::Exporter;
    our $VERSION = '2.2009';
    ...
    use Scalar::Util 1.11 qw(reftype);
    use Sub::Exporter 0.980;
    use Sub::Name qw(subname);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1206342]
Approved by marto
Front-paged by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 01:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found