Reaction::ClassExporter - Reaction::ClassExporter documentation


Reaction documentation Contained in the Reaction distribution.

Index


Code Index:

NAME

Top

Reaction::ClassExporter

DESCRIPTION

Top

SEE ALSO

Top

Reaction::Class

AUTHORS

Top

See Reaction::Class for authors.

LICENSE

Top

See Reaction::Class for the license.


Reaction documentation Contained in the Reaction distribution.

package Reaction::ClassExporter;

use strict;
use warnings;
use Reaction::Class ();

sub import {
  my $self = shift;
  my $pkg = caller;
  &strict::import;
  &warnings::import;
  {
    no strict 'refs';
    @{"${pkg}::ISA"} = ('Reaction::Class');
    *{"${pkg}::import"} = \&Reaction::Class::import;
  }
  goto &Moose::import;
}

1;