Доброго всем
Mojo::Base::Che
¡ ¡ ¡ ALL GLORY TO GLORIA ! ! !
NAME
Mojo::Base::Che - current copied from Mojo::Base 7.57 where commented the line 33 + sub _lib_flags
DESCRIPTION
Чистая копия Mojo::Base и небольшие патчи.
Причины патчей
1. Добавление путей в @INC;
2. Разрешены хазы/атрибуты не только латиницей;
SYNOPSIS
This module provide a extended form for add extra lib directories to perl's search path. See lib
use Mojo::Base::Che -lib, qw(rel/path/lib /abs/path/lib);
use Mojo::Base::Che -lib, ['lib1', 'lib2'];
use Mojo::Base::Che '-lib:lib1:lib2;lib3';
use Mojo::Base::Che -strict, qw(-lib lib1 lib2);
use Mojo::Base::Che qw(-base -lib lib1 lib2);
use Mojo::Base::Che 'SomeBaseClass', qw(-lib lib1 lib2);
# non latinic names allow
has qw(хаз);
For relative lib path will use FindBin module and $FindBin::Bin
is prepends to that lib. Libs always applied first even its last on flags list.
Other Mojo::Base forms works also.
SEE ALSO
AUTHOR
Михаил Че (Mikhail Che), <mche[-at-]cpan.org>
BUGS / CONTRIBUTING
Please report any bugs or feature requests at https://github.com/mche/Mojolicious-Che/issues.
COPYRIGHT
Copyright 2016 Mikhail Che.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.