NAME
App::Midgen::Roles::UseModule - looking for methods with Module::Runtime includes, used by App::Midgen
VERSION
version: 0.34
METHODS
xtests_use_module
Checking for the following, extracting module name and version strings.
use_module(
"Module::Name"
, x.xx)->new( ... );
require_module(
'Module::Name'
);
use_package_optimistically(
"Module::Name"
, x.xx)->new( ... );
my
$abc
= use_module(
"Module::Name"
, x.xx)->new( ... );
my
$abc
= use_package_optimistically(
"Module::Name"
, x.xx)->new( ... );
$abc
= use_module(
"Module::Name"
, x.xx)->new( ... );
$abc
= use_package_optimistically(
"Module::Name"
, x.xx)->new( ... );
return
use_module(
'Module::Name'
, x,xx )->new( ... );
return
use_package_optimisticall(
'Module::Name'
, x.xx )->new( ... );
We also support the prefix
Module::Runtime::...
in the above.
AUTHOR
See App::Midgen
CONTRIBUTORS
See App::Midgen
COPYRIGHT
See App::Midgen
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.