Доброго всем
Mojo::Base::Che
¡ ¡ ¡ ALL GLORY TO GLORIA ! ! !
NAME
Mojo::Base::Che - use Mojo::Base::Che 'SomeBaseClass',-lib, qw(rel/path/lib /abs/path/lib);
DESCR
Чистая копия Mojo::Base и небольшие патчи.
Причины патчей
1. Добавление путей в @INC;
2. Разрешены хазы не латиницей;
SYNOPSIS
This module provide a fourth 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);
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.
All three 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.