Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /proc/thread-self/root/proc/self/root/usr/share/perl5/vendor_perl/MooX/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/thread-self/root/proc/self/root/usr/share/perl5/vendor_perl/MooX/Role.pm
package MooX::Role;
BEGIN {
  $MooX::Role::AUTHORITY = 'cpan:GETTY';
}
{
  $MooX::Role::VERSION = '0.101';
}
# ABSTRACT: Using Moo::Role and MooX:: packages the most lazy way

use strict;
use warnings;
use MooX ();

sub import {
	my ( $class, @modules ) = @_;
	my $target = caller;
	unshift @modules, '+Moo::Role';
  MooX::import_base($class,$target,@modules);
}

1;


__END__
=pod

=head1 NAME

MooX::Role - Using Moo::Role and MooX:: packages the most lazy way

=head1 VERSION

version 0.101

=head1 SYNOPSIS

  package MyRole;

  use MooX::Role qw(
    Options
  );

  # use Moo::Role;
  # use MooX::Options;

=head1 DESCRIPTION

Exactly the same behaviour as L<MooX>, but instead importing L<Moo>, it imports L<Moo::Role>.

=encoding utf8

=head1 SEE ALSO

=head2 L<Role::Tiny>

=head1 SUPPORT

Repository

  http://github.com/Getty/p5-moox
  Pull request and additional contributors are welcome

Issue Tracker

  http://github.com/Getty/p5-moox/issues

=head1 AUTHOR

Torsten Raudssus <torsten@raudss.us>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut


Hry