On 16/03/14 00:54, Chris Travers wrote:
    
    
      
        
      
    
    OK, running the command perl LedgerSMB/PGDate.pm returns no output
    (So I presume works) whereas
    running perl LedgerSMB/PGNumber.pm  returns:
    
    Subroutine from_input redefined at LedgerSMB/PGNumber.pm line 111.
    Subroutine to_output redefined at LedgerSMB/PGNumber.pm line 177.
    Subroutine from_db redefined at LedgerSMB/PGNumber.pm line 224.
    Subroutine to_db redefined at LedgerSMB/PGNumber.pm line 234.
    
    So if your right about Moose then that may be the problem, I still
    get the error:
    
    Error!
    Unable to open script: LedgerSMB::Scripts::setup : : syntax
        error at LedgerSMB/DBObject_Moose.pm line 21, near "use
        LedgerSMB::MooseTypes
        ="
        Global symbol "$class" requires explicit package name at
        LedgerSMB/DBObject_Moose.pm line 25.
        "use" not allowed in _expression_ at LedgerSMB/DBObject_Moose.pm
        line 31, at end of line
        Global symbol "$self" requires explicit package name at
        LedgerSMB/DBObject_Moose.pm line 36.
        Global symbol "$function_name" requires explicit package name at
        LedgerSMB/DBObject_Moose.pm line 36.
        Global symbol "@args" requires explicit package name at
        LedgerSMB/DBObject_Moose.pm line 36.
        Global symbol "$schema" requires explicit package name at
        LedgerSMB/DBObject_Moose.pm line 36.
        Global symbol "$continue_on_error" requires explicit package
        name at LedgerSMB/DBObject_Moose.pm line 37.
        Global symbol "@args" requires explicit package name at
        LedgerSMB/DBObject_Moose.pm line 42.
        Global symbol "@elements" requires explicit package name at
        LedgerSMB/DBObject_Moose.pm line 48.
        LedgerSMB/DBObject_Moose.pm has too many errors.
        Compilation failed in require at
        /usr/share/perl5/vendor_perl/Module/Runtime.pm line 317.
        Compilation failed in require at LedgerSMB/Scripts/setup.pm line
        27.
        BEGIN failed--compilation aborted at LedgerSMB/Scripts/setup.pm
        line 27.
        Compilation failed in require at (eval 452) line 1.
      
    dbversion: 1.4.0, company: 
    
    
    I've been looking at missing dependencies and found some, 
    
    CGI::Emulate::PSGI                     Not in
    FCGI::ProcManager                    Not in
    IO::String                                   Not In
    
    (I've already fixed the above) and:
    Plack::App::CGIBin                     Not in
    Plack::Builder                             Not in
    Plack::Middleware::Static            Not in
    Devel::Trace                               Not in    
    
    Now I haven't fixed these yet, Plack has cascading dependencies
    which may also cascade so wondered how often the file which mentions
    it is called it is:
    
    tools/ledgersmb.psgi
    
    Kind regards
    
    Benedict White
    
    
    
    
      
        
      
      
      
      
      ------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
      
      
      
      _______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel